ElasticSearch, Sphinx, Lucene, Solr, Xapian. Which fits for which usage? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

Make elasticsearch only return certain fields?

I’m using elasticsearch to index my documents. Is it possible to instruct it to only return particular fields instead of the entire json document it has stored? 13 s 13 Yep, Use a better option source filter. If you’re searching with JSON it’ll look something like this: { “_source”: [“user”, “message”, …], “query”: …, “size”: … Read more

Elasticsearch query to return all records

I have a small database in Elasticsearch and for testing purposes would like to pull all records back. I am attempting to use a URL of the form… http://localhost:9200/foo/_search?pretty=true&q={‘matchAll’:{”}} Can someone give me the URL you would use to accomplish this, please? 30 s 30 I think lucene syntax is supported so: http://localhost:9200/foo/_search?pretty=true&q=*:* size defaults … Read more

Solr vs. ElasticSearch [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago. Improve this question What are the core architectural differences between these technologies? Also, what use cases are generally more … Read more