(
id +hits.doc(i).get(id) + ; Score: + hits.score(i));
}
System.out.println(\nNumber of hits: + hits.length());
}
}
- Original Message -
From: Doug Cutting [EMAIL PROTECTED]
To: 'Lucene Users List' [EMAIL PROTECTED]
Sent: Monday, November 26, 2001 2:42 PM
Subject: RE: Attribute
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 2:51 PM
To: Lucene Users List
Subject: Re: Attribute Search
Paula,
I came across a tutorial which had some details on the static factory Field
methods. But none of the factory methods return a Field object with the
following settings
From: New, Cecil (GEAE) [mailto:[EMAIL PROTECTED]]
this is exactly what I was doing. Store=false, index=true,
and token=false.
It appeared to work ok, but searches *never* returned any hits.
That's why I suspect it is a bug.
If you think this is a bug, please submit a test case, as
.
- Original Message -
From: Emmanuel Bridonneau [EMAIL PROTECTED]
To: 'Lucene Users List' [EMAIL PROTECTED]
Sent: Tuesday, November 20, 2001 4:12 PM
Subject: RE: Attribute Search
Did you check w/FAQ 26 on searching?
http://www.lucene.com/cgi-bin/faq/faqmanager.cgi?file=chapter.searchtoc
New [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 1:08 PM
To: Lucene Users List
Subject: Re: Attribute Search
I came across a tutorial which had some details on the static factory Field
methods. But none of the factory methods return a Field object with the
following settings
Paula,
I came across a tutorial which had some details on the static factory Field
methods. But none of the factory methods return a Field object with the
following settings:
Store = false
Index = true
Tokenize = false
I'm beginning to think this is a bug - that this combination is handled
I am trying index a set of data, storing only a primary key. This primary key I
left un-indexed. There is one text field, that I indexed and tokenized.
The others I neither want to store or tokenized. My reasoning was that not
tokenizing would produce the smallest index. The remaining
?
-Original Message-
From: Cecil, Paula New [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 9:47 PM
To: LUCENE Text Search
Subject: Attribute Search
I am trying index a set of data, storing only a primary key. This primary
key I left un-indexed. There is one text field, that I indexed