RE: Increase search performance

2018-02-02 Thread Atul Bisaria
prototype should work well. Le ven. 2 févr. 2018 à 04:46, Atul Bisaria <atul.bisa...@ericsson.com> a écrit : > Hi Adrien, > > Please correct if I am wrong, but I believe using extended > IntComparator in custom Sort object for randomization would still > score documents (using

RE: Increase search performance

2018-02-01 Thread Atul Bisaria
Reader(LeafReaderContext context) throws IOException { super.doSetNextReader(context); this.docBase = context.docBase; } public ScoreDoc[] getHits() { return matches; } } Best Regards, Atul Bisaria -Or

RE: Increase search performance

2018-02-01 Thread Atul Bisaria
); } } Best Regards, Atul Bisaria -Original Message- From: Adrien Grand [mailto:jpou...@gmail.com] Sent: Wednesday, January 31, 2018 6:33 PM To: java-user@lucene.apache.org Subject: Re: Increase search performance Hi Atul, Le mar. 30 janv. 2018 à 16:24, Atul Bisaria <atul.b

Increase search performance

2018-01-30 Thread Atul Bisaria
In the search use case in my application, I don't need to score query results since all results are equal. Also query patterns are also more or less fixed. Given these conditions, I am trying to increase search performance by 1. Using ConstantScoreQuery so that scoring overhead is