You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Yura Smolsky <in...@altervisionmedia.com> on 2006/09/14 18:14:42 UTC
ParallelMultiSearcher and docFreq
Hello.
Here is the situation. I have ParallelMultiSearcher object
initializated with two or more RemoteSearchable's.
I run PrefixQuery search on some keyword field, say "link". When I run
search starting just with letter "w" (link:w*) then I should have like 5k
results.
As I know when I perform search on ParallelMultiSearcher query is
being rewritten at first. So my prefix search is being rewritten with
"link:wordlist.com link:web.com and so on about 2-3k of terms". Then as I
understand from debugging for each such term ParallelMultiSearcher performs docFreq
requests to RemoteSearchables (2-3k calls). So we have many requests
to docFreq method and these operations take like 95% of all search time.
I see that we have docFreqs method for RemoteSearchable, but it has
not being used.
Is there any way to get rid of those multiple calls of docFreq?
Maybe I am not correct, then please tell me whats wrong.
Thanks.
--
Yura Smolsky,
http://altervisionmedia.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: ParallelMultiSearcher and docFreq
Posted by Yura Smolsky <in...@altervisionmedia.com>.
Hello, Yura.
Does anyone understand my email? Maybe my English is too bad...
Thanks.
YS> Here is the situation. I have ParallelMultiSearcher object
YS> initializated with two or more RemoteSearchable's.
YS> I run PrefixQuery search on some keyword field, say "link". When I run
YS> search starting just with letter "w" (link:w*) then I should have like 5k
YS> results.
YS> As I know when I perform search on ParallelMultiSearcher query is
YS> being rewritten at first. So my prefix search is being rewritten with
YS> "link:wordlist.com link:web.com and so on about 2-3k of terms". Then as I
YS> understand from debugging for each such term
YS> ParallelMultiSearcher performs docFreq
YS> requests to RemoteSearchables (2-3k calls). So we have many requests
YS> to docFreq method and these operations take like 95% of all search time.
YS> I see that we have docFreqs method for RemoteSearchable, but it has
YS> not being used.
YS> Is there any way to get rid of those multiple calls of docFreq?
--
Yura Smolsky,
http://altervisionmedia.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org