Could you provide a few more details? 1) Version of Lucene/Solr 2) A sample slow query 3) Number of unique values in the collapse field 4) Number of search results before the collapse 5) Number of results fetched in the page 6) Performance numbers for the query
Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Apr 28, 2015 at 3:58 PM, yliu <y...@mathworks.com> wrote: > Hi, > > I am using Solr to do some complex querying. Some queries require me to > return one main document and some expanded documents at the same time. > When > I run the query without extracting any expanded document, the performance > is > good. But once I added the expanded conditions, the performance becomes > really bad. What is the best way to get a document and a few related > documents (child documents) back at the same time? Is there anything I can > config or change in schema.xml file and solrconfig.xml file to help improve > the performance? Thanks, > > yliu > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-improve-the-performance-of-query-with-expand-query-tp4202895.html > Sent from the Solr - User mailing list archive at Nabble.com. >