lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Hartmann" <michael.hartm...@web.de>
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?

Thanks,
Michael

-----Urspr√ľngliche Nachricht-----
Von: lucene-user-return-10674-michael.hartmann=web.de@jakarta.apache.org
[mailto:lucene-user-return-10674-michael.hartmann=web.de@jakarta.apache.org]
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.

Regards
 Daniel

--
http://www.danielnaber.de

---------------------------------------------------------------------
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