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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]