which has method
createFieldQuery()
Regards
Akanksha Jain
here belong to everybody, the opinions to me. The
distinction is yours to draw
On Tue, Oct 14, 2008 at 12:53 PM, Akanksha Baid <[EMAIL PROTECTED]> wrote:
I have indexed multiple documents - each of them have 3 fields ( id, tag ,
text). Is there an easy way to determine the set o
returns 15 docs with tag A , 10 with
tag B and none with tag C (total of 25 hits). Is there a way to
determine that the set of tags for query Q = {A, B} without iterating
through all 25 hits.
Any ideas?
Thanks!
Akanksha
-
To
I was wondering if there is a "search based" method to find the top-k
frequent phrases in a set of documents.( I do not have a particular phrase
in mind so PhraseQuery can probably be ruled out).
I have implemented something that works using termvectors and termpositions
but the performance is not
hits.id() should work.
karl wettin wrote:
19 jul 2007 kl. 22.58 skrev Kevin Chen:
doc = hits.doc(0);
TermFreqVector vector = reader.getTermFreqVector(docId, "field");
How do I get docId?
If you use Hits, it is hits.doc()
-
Right , I was making a silly mistake there. I have it working now.
Thanks for the reply.
yu wrote:
You can put lucene-queries-2.2.0.jar on your class path or your
Eclipse project build path. That's all you need.
Jay
Akanksha Baid wrote:
I am using Lucene 2.1.0 and want to use MoreLik
I am using Lucene 2.1.0 and want to use MoreLikeThis for querying
documents. I understand that the jar file for the same is in contrib. I
have the contrib folder extracted, but am not sure what to do from this
point on. What jar file am I looking for and where should put it. I am
using Eclipse
Is there a way to test as to which version of Lucene was used to build
an index?
-Akanksha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have two strings -
String1 contains multiple words &
String2 contains just 1 word
I need to search my index to find hits where String1 and String2 occur
within a distance "slop = d" of each other. Order is important. Also,
ideally I would like to do a fuzzy search on String1. Is there some w