Re: term frequency in solr

2017-01-05 Thread Ahmet Arslan
Hi, I think you are missing the main query parameter? q=*:* By the way you may get more response in the sole-user mailing list. Ahmet On Wednesday, January 4, 2017 4:59 PM, huda barakat wrote: Please help me with this: I have this code which return term frequency from techproducts example:

Re: term frequency in solr

2017-01-05 Thread huda barakat
Thank you for fast reply, I add the query in the code but still not working: import java.util.List; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.client.solrj.SolrR

Re: term frequency in solr

2017-01-05 Thread Ahmet Arslan
Hi, I guess you are working with default techproducts. can you try using the terms request handler: query.setRequestHandler("terms") Ahmet On Friday, January 6, 2017 1:19 AM, huda barakat wrote: Thank you for fast reply, I add the query in the code but still not working:

Re: Lucene performance benchmark | search throughput

2017-01-05 Thread Rajnish kamboj
OK, got it One thing still I need to know (which is not clear to me) How does Lucene calculates the most restrictive clause? Correct me, if I am wrong in my understanding (in abstract): 1. During indexing, Lucene keeps information of documents count against every indexed items. 2. During sear