Re: How to improve the performance of query with expand query

2015-04-29 Thread yliu
question. When you say how many documents in index, do you mean the whole core or do you mean just documents related to the same parent? Thanks, yliu -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-improve-the-performance-of-query-with-expand-query-tp4202895p4203031

Re: How to improve the performance of query with expand query

2015-04-29 Thread yliu
I will try it out with Solr 5. Thanks for your help, yliu -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-improve-the-performance-of-query-with-expand-query-tp4202895p4203030.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to improve the performance of query with expand query

2015-04-29 Thread yliu
There are totally 70516592 documents in the index and 380 is returned from the expand.q query. How do I include licenseNumber in expand.q query? None of the expand documents have that field. Thanks, yliu -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-improve-the

Re: How to improve the performance of query with expand query

2015-04-29 Thread yliu
What I have here is the complete request. I am not using any "collapse" in my query. Before the queries I listed in my previous post, I have only: http:///solr-slave/entitlement/select/? Thanks. yliu -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-i

Re: How to improve the performance of query with expand query

2015-04-29 Thread yliu
es. One document returned. 380 expanded documents returned. Please let me know if you need more information. Thanks, yliu -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-improve-the-performance-of-query-with-expand-query-tp4202895p4202991.html Sent from the Sol

How to improve the performance of query with expand query

2015-04-28 Thread yliu
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

Re: How to return child documents with parent

2015-01-09 Thread yliu
Thanks. That solved my problem. Y -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-return-child-documents-with-parent-tp4178081p4178378.html Sent from the Solr - User mailing list archive at Nabble.com.

How to return child documents with parent

2015-01-08 Thread yliu
Hi, What is the best way to return both parent document and child documents in one query? I used SolrJ to create a document and added a few child documents using addChildDocuments() method and indexed the parent document. All documents are indexed successfully (parent and children). When I tr