How do we increase the maximum allowed HTTP GET query length in Jetty?
What’s the maximum URL length in Tomcat?
What’s the maximum URL length in Tomcat?
@darkheir: Lucene and Solr are 2 differents Apache projects that are made to work together, I don’t understand what is the aim of each project. Solr uses Lucene under the hood. Lucene has no clue about the Solr API. Lucene is a powerful search engine framework that lets us add search capability to our application. … Read more
You didn’t tell NGINX for how much time the response is valid and must be served from cache. This must be specified with proxy_cache_valid directive. proxy_cache one; proxy_cache_key $host$uri$is_args$args; proxy_cache_valid 200 10m; But, this won’t work for POST requests because you have no cache key that differs from a POST request to another on the … Read more
I’ve been using Solr successfully for almost 2 years now, and have never used Sphinx, so I’m obviously biased. However, I’ll try to keep it objective by quoting the docs or other people. I’ll also take patches to my answer 🙂 Similarities: Both Solr and Sphinx satisfy all of your requirements. They’re fast and designed … Read more
This is a great question, something I have pondered over quite a bit. I will summarize my lessons learned: You can easily use Lucene/Solr in lieu of MongoDB for pretty much all situations, but not vice versa. Grant Ingersoll’s post sums it up here. MongoDB etc. seem to serve a purpose where there is no … Read more
As the creator of ElasticSearch, maybe I can give you some reasoning on why I went ahead and created it in the first place :). Using pure Lucene is challenging. There are many things that you need to take care for if you want it to really perform well, and also, its a library, so … Read more
Many suggested updating catalina.sh startup script. Yes, that solution would work, but catalina.sh script is not meant to be customized/updated. All changes should go into the customization script instead, i.e. setenv.sh. NOTE: TOMCAT_HOME/bin/setenv.sh doesn’t exist by default, you need to create it. Check the catalina.sh script and you will see the startup script checks if … Read more
Update Now that the question scope has been corrected, I might add something in this regard as well: There are many comparisons between Apache Solr and ElasticSearch available, so I’ll reference those I found most useful myself, i.e. covering the most important aspects: Bob Yoplait already linked kimchy’s answer to ElasticSearch, Sphinx, Lucene, Solr, Xapian. … Read more