lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane James Vaucher <vauch...@cirano.qc.ca>
Subject Re: Adding duplicate Fields to Documents
Date Sat, 24 Apr 2004 18:02:42 GMT
>From my experience (that is little experience;)), fields that are not
tokenised, are stored separately. Someone more qualified can surely give
you more details.

You can look at your index with Luke, it might be insightful.
sv

On Thu, 22 Apr 2004, Gerard Sychay wrote:

> Hello,
>
> I am wondering what happens when you add two Fields with same names to
> a Document.  The API states that "if the fields are indexed, their text
> is treated as though appended."  This much makes sense.  But what about
> the following two cases:
>
> - Adding two fields with same name that are indexed, not tokenized
> (keywords)?  E.g. given ("field_name", "keyword1") and ("field_name",
> "keyword2"), would the final keyword field be ("field_name",
> "keyword1keyword2")?  Seems weird..
>
> - Adding two fields with same name that are stored, but not indexed and
> not tokenized (e.g. database keys)?  Are they appended (which would mess
> up the database key when retrieved from the Hit)?
>
> Thanks,
> Gerard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message