the first "section" field, instead of all the
texts, as if they were indexed in the same field "section".
Instead, if I try to remove the field "section" it removes correctly all
these section fields, as if there was only a single section field.
Where am I wrong?
--
Riccardo Daviddi
University of Siena - Information Engeneering
[EMAIL PROTECTED]
nt.get(String), or
> Document.getField(String) ... try using Document.getValues(String) or
> Document.getFields(String).
>
>
>
>
> -Hoss
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Riccardo Daviddi
University of Siena - Information Engeneering
[EMAIL PROTECTED]
re the doc in a db and get so a unique id (the key of the row in
the db) and use it as the unique id for the keyword field in the
index?
--
Riccardo Daviddi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
tis Gospodnetic <[EMAIL PROTECTED]> wrote:
> Going the DB way may be safer.
> But you could use IndexReader's maxDoc() method to use the other
> approach:
> http://lucene.apache.org/java/docs/api/org/apache/lucene/index/IndexReader.html#maxDoc()
>
> Otis
>
> --- Ric
Erik
>
>
> On Jul 21, 2005, at 11:53 AM, Riccardo Daviddi wrote:
>
> > Hi all,
> >
> > it's possible to set an unique id (as keyword field) to a doc by
> > looking in the index? I mean, it's possible to look in the index and
> > know what is th
index.
On 7/21/05, Erik Hatcher <[EMAIL PROTECTED]> wrote:
>
> On Jul 21, 2005, at 3:43 PM, Riccardo Daviddi wrote:
> > What I want to to is to assign a unique id to each doc I add to the
> > index.
> > I was wondering if there is a method to assign a unique id direc
I 'll take a look at it, thx.
On 7/22/05, Peter Friend <[EMAIL PROTECTED]> wrote:
>
> On Jul 21, 2005, at 8:53 AM, Riccardo Daviddi wrote:
>
> > it's possible to set an unique id (as keyword field) to a doc by
> > looking in the index? I mean, it's
rough the hits with some conditions?
--
Riccardo Daviddi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ok:)
so I do this "filtering" on the hits.
thx
On 7/25/05, Erik Hatcher <[EMAIL PROTECTED]> wrote:
>
> On Jul 25, 2005, at 7:05 AM, Riccardo Daviddi wrote:
> > Hi all,
> > I have to filter my searching in two ways:
> > 1) by score, I want that only docs wi
there is a smarter way to get the snippet?
thx in advance!
--
Riccardo Daviddi
University of Siena - Information Engeneering
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Why I got this error by writing for example:
Field senderNameField = Field.Text("senderName", senderName);
Field subjectField = Field.Text("subject", subject);
subjectField.setBoost(1.2);
as in the manual lucene in action??
1.2 is a double, but the method wants a float?
hat I do in the code.
Any idea?
On 8/4/05, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
> Yes. use 1.2f there. That method accepts floats, not doubles. That
> could be an error in the Lucene book.
>
> Otis
>
>
> --- Riccardo Daviddi <[EMAIL PROTECTED]> wrote:
Where can I get the binary of all the classes for highlighting?
thx
--
Riccardo Daviddi
University of Siena - Information Engeneering
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
, not doubles. That
> could be an error in the Lucene book.
>
> Otis
>
>
> --- Riccardo Daviddi <[EMAIL PROTECTED]> wrote:
>
> > Why I got this error by writing for example:
> >
> > Field senderNameField = Field.Text("senderName", senderName
ument based boosts (as opposed to
> Query boosts) are used at indexing time.
>
>
>
> -Hoss
>
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional comm
thank you!
On 8/7/05, Erik Hatcher <[EMAIL PROTECTED]> wrote:
>
> On Aug 7, 2005, at 12:17 PM, Riccardo Daviddi wrote:
> > Where can I get the binary of all the classes for highlighting?
>
> There have never been any official releases of the Sandbox/contrib
> piec
from IndexReader.document(int) and Hits.doc
> (int) may thus not have the same value present as when this field was
> indexed."
>
> HTH
> Stefan
>
>
> Am 07.08.2005 um 19:05 schrieb Riccardo Daviddi:
>
> > I don't know where I am wrong...
> >
a document all
the field names the doc has?
thx
--
Riccardo Daviddi
University of Siena - Information Engeneering
[EMAIL PROTECTED]
together).
> > By now I am getting all the fields of an index by the
> > IndexReader.getFieldNames() method and then manually testing if the
> > document
> > has each field. There is another way to know
19 matches
Mail list logo