Thanks a lot.
On 3/20/07, karl wettin <[EMAIL PROTECTED]> wrote:
20 mar 2007 kl. 12.14 skrev SK R:
> Hi Mark,
> Thanks for your reply.
> Could i get this match length (docFreq) without using
> searcher.search(..) ?
>
> One more doubt is "Preformace for getting search
enough (cache the searcher) then avoid
yourself the coding effort of using TermPositions API or the index
overhead/complexity of using NGram analyzers.
Cheers
Mark
- Original Message
From: SK R <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, 20 March, 2007 1
20 mar 2007 kl. 12.14 skrev SK R:
Hi Mark,
Thanks for your reply.
Could i get this match length (docFreq) without using
searcher.search(..) ?
One more doubt is "Preformace for getting search length by
using
searcher.search(...) is same as using reader.docFreq(..)??
Hi Mark,
Thanks for your reply.
Could i get this match length (docFreq) without using
searcher.search(..) ?
One more doubt is "Preformace for getting search length by using
searcher.search(...) is same as using reader.docFreq(..)??;
On 3/20/07, mark harwood <[EMAIL PROT
IndexSearcher s=new IndexSearcher("/indexes/myindex");
PhraseQuery pq = new PhraseQuery();
pq.add(new Term("contents","test"));
pq.add(new Term("contents","under"));
int df=s.search(pq).length();
Cheers
Mark
- Original Message
From: SK R <[EMAIL PRO