• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Best choice server and DB choice for standalone search with lucene

 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i am going to develop a standalone search web-application using apache lucene

when i searched for server i come across - Takes (https://github.com/yegor256/takes) or Undertow (http://undertow.io/) or Rapidoid (https://www.rapidoid.org/)

Please kindly let me know which embedded server is good..and which Database can be used for portability.

Thanks.
 
Saloon Keeper
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At least two of those look like web frameworks - what is the connection to either Lucene or databases? All those you linked to should work with whatever you choose.

Out of curiosity: what will this software do that Apache Solr (possibly with custom enhancements of yours) couldn't?
 
Joseph Michael
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Portability....Solr is not portable....

Is Solr is porable???

Do we have an embedded Solr like Embedded Tomcat??

I want my web application search engine to be portable...
 
Tim Moores
Saloon Keeper
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does "portable" mean when discussing a server application? Do you mean distributing and running it like a desktop app?

As to DBs, Hsqldb and Derby are embeddable in Java apps.
 
Joseph Michael
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, wanted to bundle as one zip...so that any user will just unzip and start the embedded tomcat, embedded solr and embedded..everything is embedded...Please advise with your comments..
 
Tim Moores
Saloon Keeper
Posts: 7488
171
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have no experience with embedding Solr, but it is possible to some degree: https://cwiki.apache.org/confluence/display/solr/EmbeddedSolr. It seems that they recommend running it as its own server. That might not be a big deal, though: you would be running a script to start Tomcat anyway, and that script might as well start up Solr, too, using some predetermined port (just like Tomcat would).
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:I have no experience with embedding Solr, but it is possible to some degree: https://cwiki.apache.org/confluence/display/solr/EmbeddedSolr. It seems that they recommend running it as its own server. That might not be a big deal, though: you would be running a script to start Tomcat anyway, and that script might as well start up Solr, too, using some predetermined port (just like Tomcat would).


I'm doing it now.
 
Marshal
Posts: 76811
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
LC: welcome to the Ranch

Please explain to the other people on this thre‍ad how you are implementing your server.
 
Lambert Cheiz
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:LC: welcome to the Ranch

Please explain to the other people on this thre‍ad how you are implementing your server.


Thank. I'm setting up a server now. After starting, I will share detailed instructions with screenshots.
 
Saloon Keeper
Posts: 26267
186
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joseph Michael wrote:Yes, wanted to bundle as one zip...so that any user will just unzip and start the embedded tomcat, embedded solr and embedded..everything is embedded...Please advise with your comments..



Well, that sounds like a job for Spring Boot.

Lucene can be incorporated into many apps, and not all the apps I've seen using Lucene were webapps. I think maybe Recoll uses Lucene and it's a stand-alone app that I use to index practically every file on my PC for free-text searching. Yup, did a quick check. Lucene has been implemented in C#/.Net (used by recoll) and apparently in Common Lisp (Montezuma). In fact, in quite a few languages and platforms, although the master platform is Java.

Solr is simply Lucene bundled up for web use.
 
Tim Moores
Saloon Keeper
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:Solr is simply Lucene bundled up for web use.


Indeed - somehow I thought it was a crawler as well. But if it's just about indexing and searching, a custom Lucene solution would be sufficient.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic