anuary 2006 11:23
To: java-user@lucene.apache.org
Subject: RE: Searching over more than one Fields
I was happy to take the hit of storing the text twice.
I have created an aggregate field called "CONTENTS" that has all the other
fields concatenated together.
I also created a list of the
I was happy to take the hit of storing the text twice.
I have created an aggregate field called "CONTENTS" that has all the other
fields concatenated together.
I also created a list of the other fields (because they can vary from doc to
doc) in another field "FIELDLIST"
I search this field and fo
I'd suggest creating the index a little differently. How about creating each
paragraph as a document. Each document could have three fields: filename,
paragraph number and content.
With an index like this you'd be able to easily search one field for the
content, the hits could report which paragr
I'd suggest creating the index a little differently. How about creating each
paragraph as a document. Each document could have three fields: filename,
paragraph number and content.
With an index like this you'd be able to easily search one field for the
content, the hits could report which paragr
I'd suggest creating the index a little differently. How about creating each
paragraph as a document. Each document could have three fields: filename,
paragraph number and content.
With an index like this you'd be able to easily search one field for the
content, the hits could report which par