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
; pq.add(new Term("contents","under"));
> int df=s.search(pq).length();
>
> Cheers
> Mark
> - Original Message
> From: SK R <[EMAIL PROTECTED]>
> To: java-user@lucene.apache.org
> Sent: Tuesday, 20 March, 2007 10:32:32 AM
> Subject: c
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(..)??
h(pq).length();
Cheers
Mark
- Original Message
From: SK R <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, 20 March, 2007 10:32:32 AM
Subject: can't get docFreq of phrase
Hi,
I can get docFreq. of single term like (f1:test) by using
indexReader.docFreq(new
ark
- Original Message
From: SK R <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, 20 March, 2007 10:32:32 AM
Subject: can't get docFreq of phrase
Hi,
I can get docFreq. of single term like (f1:test) by using
indexReader.docFreq(new Term("f1","
Hi,
I can get docFreq. of single term like (f1:test) by using
indexReader.docFreq(new Term("f1","test")). But can't get docFreq. of phrase
term like f2:"test under") by the same method.
Is anything wrong in this code?
Please help me to resolve this problem.
Thanks & Regards
RSK