RE: how to search miilions of record in Lucene query

2016-01-08 Thread Uwe Schindler
Hi, this is not responsibility of a query parser. You need the right Query class! And here it is: (Lucene 5): new TermsQuery(array/list of terms) https://lucene.apache.org/core/5_4_0/queries/org/apache/lucene/queries/TermsQuery.html (Lucene 4): new ConstantScoreQuery(TermsFilter(array/list of

how to search miilions of record in Lucene query

2016-01-08 Thread Mugeesh Husain
Hello, How to create Lucene query parser which could accept 1 millions ID search like ID:1,2,.. upto 1 Millions with good performance. Please give me suggestion which query parser i should use or custom etc Thanks -- View this message in context:

RE: how to search miilions of record in Lucene query

2016-01-08 Thread Mugeesh Husain
@Uwe Schindler thank for your reply, if i search (1,6,9...upto millions ) of files , response time will be too late, if i use TermsQuery, response time near about 1.2 second , but i am looking for a solution, response will be 50-100 mili second. Please suggest me how i will solve these issue