Solr 4.10 has added a {!terms} query that should speed up these cases. Benchmarks here: http://heliosearch.org/solr-terms-query/
-Yonik http://heliosearch.org - native code faceting, facet functions, sub-facets, off-heap data On Tue, Aug 19, 2014 at 2:57 PM, SolrUser1543 <osta...@gmail.com> wrote: > I am using Solr to perform search for finding similar pictures. > > For this purpose, every image indexed as a set of descriptors ( descriptor > is a string of 6 chars ) . > Number of descriptors for every image may vary ( from few to many thousands) > > When I want to search for a similar image , I am extracting the descriptors > from it and create a query like : > MyImage:( desc1 desc2 ... desc n ) > > Number of descriptors in query may also vary. Usual it is about 1000. > > Of course performance of this query very bad and may take few minutes to > return . > > Any ideas for performance improvement ? > > P.s I also tried to use lire , but it is not fits my use case.