RE: Searching over more than one Fields

2006-01-30 Thread Mike Streeton
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

RE: Searching over more than one Fields

2006-01-30 Thread Gwyn Carwardine
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

Re: Searching over more than one Fields

2006-01-29 Thread Chris Brown
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

Re: Searching over more than one Fields

2006-01-29 Thread Chris Brown
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

Re: Searching over more than one Fields

2006-01-29 Thread Chris Brown
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