Re:Re: ignore score and weight in lucene search

2015-07-30 Thread 丁儒
Hi ,all I'm using 4.10.3, as András Péteri mentioned, i tried the Collector, and looked into the source code. It seems that the collector i rewrite and the default TopScoreCollector just collects the docs, but the socre and weight is still calculated, so it didn't speed up the search. Maybe

Re:Re: ignore score and weight in lucene search

2015-07-29 Thread 丁儒
It seems that ConstantScoreQuery use the Weight and Score of the Query it wrapperd, like TermWeight and TermScorer , so it can't speed up the search, because the weight and score is still calculated. Maybe i make it wrong, but i did some test, the search time of ‘ new ConstantScoreQuery(new T