Re: Search all instead of specified/default field

2003-12-29 Thread Erik Hatcher
On Dec 29, 2003, at 5:37 PM, Thomas Krämer wrote: with the apache commons digester i can read each record into a lucene document and push each tag as key-value pair, where the tag name (eg. creator) is the lucene field name and the text enclosed by it the corresponding string value. for a lot o

Search all instead of specified/default field

2003-12-29 Thread Thomas Krämer
Hello all, i am using lucene to index simple metadata records, that consist of fields such as creator, description, identifier etc. with the apache commons digester i can read each record into a lucene document and push each tag as key-value pair, where the tag name (eg. creator) is the lucene

Re: Query Parser AND / OR

2003-12-29 Thread Dror Matalon
my $.02. Before having patches, I think it's a good idea to agree on what the "right" solution is. Most of it is obvious using boolean logic, but we have some additional requirements like not having a query that only has a NOT clause. Is this the only exception? As far as the actual patch, I wou

Re: Types of field in index

2003-12-29 Thread Otis Gospodnetic
I believe Digester is smart enough to call that method when it reaches the end, even if the document contain only one of those elements you mentioned. I just saw this the other day when I used Digester to parse some XML. Otis --- Thomas_Krämer <[EMAIL PROTECTED]> wrote: > Hello, > > >> *sorry

Re: Types of field in index

2003-12-29 Thread Thomas Krämer
Hello, >> *sorry* for previous mail, sometimes shortkeys are not that helpful... >> Thanks for that hint, Otis. Digester is a very comfortable way to customize the indexing of xml using lucene. And it works fine except one thing: According to the example in the article is set the addDocument (her

Re: Types of field in index

2003-12-29 Thread Thomas Krämer
Hello, Thanks for that hint. Digester is a very comfortable way to customize the indexing of xml using lucene. And it works fine except one thing: According to the example in the article is set the addDocument method when reading the last element: Otis Gospodnetic schrieb: I suggest you look at