Fwd: Re: Searching multiple terms and mapping each term with their search result.

2017-08-17 Thread Sarthak Sugandhi
-- Forwarded message -- From: "Sarthak Sugandhi" <sarthaksugand...@gmail.com> Date: 10 Aug 2017 3:32 p.m. Subject: Re: Searching multiple terms and mapping each term with their search result. To: <dev@lucene.apache.org> Cc: Hello All Thanks for your time.But

Re: Searching multiple terms and mapping each term with their search result.

2017-08-10 Thread Sarthak Sugandhi
Hello All Thanks for your time.But my issue isn't solved yet. I wanted to know about class / functions using which I search multiple terms at one go and retrieve search results for each of them. Thanks, Sarthak On 2 Aug 2017 11:18 a.m., "Sarthak Sugandhi" wrote: >

Re: Searching multiple terms and mapping each term with their search result.

2017-08-02 Thread Walter Underwood
I’d do multiple queries in parallel. It is super easy with Solr. Send each query request, then go back and read each response. They happen in parallel without any threads in the client. If you want the total, then do another query. It will share cached posting lists with the other queries, so

Re: Searching multiple terms and mapping each term with their search result.

2017-08-02 Thread Michael McCandless
Do you really need to know which term/s caused a given hit for every single hit, or only for the top N hits? If you must know this for every single hit, you should make your own Collector and use the Scorer.getChildren API to gather the sub-scorer for each term, and on collecting each hit, look