Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Best choice server and DB choice for standalone search with lucene

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • 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: 5880
147
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • 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: 36
  • Mark post as helpful
  • send pies
  • 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: 5880
147
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • 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: 36
  • Mark post as helpful
  • send pies
  • 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: 5880
147
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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
  • 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: 66236
250
  • Mark post as helpful
  • send pies
  • 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
  • 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: 21266
138
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • 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: 5880
147
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • 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.
 
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!