AW: Special field values

2004-10-13 Thread Michael Hartmann
| -Ursprüngliche Nachricht- | Von: | [EMAIL PROTECTED] | e.org | [mailto:[EMAIL PROTECTED] ta.apache.org] Im Auftrag von Paul Elschot | Gesendet: Dienstag, 12. Oktober 2004 19:27 | An: [EMAIL PROTECTED] | Betreff: Re: Special field values | | On Tuesday 12 October 2004 15:02, Otis

Re: Special field values

2004-10-13 Thread Daniel Naber
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

Special field values

2004-10-12 Thread Michael Hartmann
Hi everybody, I am thinking about extending the Lucene search with metadata in the following way Field Value --- Title (n1, n2, n3, ..., nm) | ni element of {0,1} and m amount of distinct metadata values for title

Re: Special field values

2004-10-12 Thread Otis Gospodnetic
Hello Michael, This is something you'd have to code on your own. Otis --- Michael Hartmann [EMAIL PROTECTED] wrote: Hi everybody, I am thinking about extending the Lucene search with metadata in the following way Field Value

Re: Special field values

2004-10-12 Thread Paul Elschot
On Tuesday 12 October 2004 15:02, Otis Gospodnetic wrote: Hello Michael, This is something you'd have to code on your own. Otis --- Michael Hartmann [EMAIL PROTECTED] wrote: Hi everybody, I am thinking about extending the Lucene search with metadata in the following way Field

Re: Special field values

2004-10-12 Thread Paul Elschot
On Tuesday 12 October 2004 19:27, Paul Elschot wrote: IndexReader.open(indexName).termDocs(new Term(term, field)).skipTo(documentNr) returns the boolean indicating that. Well, almost. When it returns true one still needs to check the TermDocs for being at the documentNr. Paul Elschot