lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Hartmann" <>
Subject AW: Special field values
Date Thu, 14 Oct 2004 06:51:08 GMT
Hi Daniel,

This is what I thought about as well. But does the order be the same for all
documents. Another alternative would be to have a document within a
document, which means that one document would represent the vector with all
the values for a metadata field.

Doc (ISBN: 0-201-39829-X) // indicates URI in RDF/XML
 |- Doc(author) // indicates metadata field
	|- Baeza-Yates, Ricardo -> 1
	|- Riberiro-Neto, Berthier -> 1
	|- Gamma -> 0

Then I think it could work. So I could do a search for each inner doc and
then combine the results for each searched field per document. Does this
make sense?


-----Urspr√ľngliche Nachricht-----
Im Auftrag von Daniel Naber
Gesendet: Mittwoch, 13. Oktober 2004 09:20
An: Lucene Users List
Betreff: Re: Special field values

On Wednesday 13 October 2004 08:45, Michael Hartmann wrote:

> The field should store a "vector" of values that indicate whether or 
> not a term exists in a document or not.

You can just add more than one field with the same name but different values
per document, then searching for single values should work.



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message