Re: Lucene DB indexing and searching Question (1.9.1)

2006-04-27 Thread Chris Hostetter
: You need to use MultiFieldQueryParser : : http://lucene.apache.org/java/docs/api/org/apache/lucene/queryParser/MultiFieldQueryParser.html or put the text from all of your fields into one uber catchall field and make that the default... foreach (column) { Field f = new Field(column.name

Re: Lucene DB indexing and searching Question (1.9.1)

2006-04-27 Thread Chris Lu
You need to use MultiFieldQueryParser http://lucene.apache.org/java/docs/api/org/apache/lucene/queryParser/MultiFieldQueryParser.html Sincerely, Chris Lu - Full-text search on Any Databases/Applications http://www.dbsight.net On 4/27/06, Audrius Peseckis <[EMAIL PROTECTED]> wrote: > Hel

Lucene DB indexing and searching Question (1.9.1)

2006-04-27 Thread Audrius Peseckis
Hello, What I'm trying to do is to index database with lucene. Each row returned by SQL query is represented as document, and document contains fields (values of columns). I'm adding those fields to document by doing the following: Field fld = new Field("COLUMN_NAME", column.value()); Now when