Thanks a lot Erick
Boris
* Erick Erickson <[EMAIL PROTECTED]> [Thu, 21 Sep 2006 20:53:42
-0400]:
I think you want a PerFieldAnalyzerWrapper. It allows you to make a
different analyzer for each field in your document. You'll have to
write
the
code to extract the file contents in your desired
I think you want a PerFieldAnalyzerWrapper. It allows you to make a
different analyzer for each field in your document. You'll have to write the
code to extract the file contents in your desired formats for each field,
but you probably do that already ...
You can instantiate your IndexWriter with
I need to create two fields for Lucene documents populated
1) by numbers
2) by other strings
3) by values of another specific format
What kind of Analyzer would do it?
Using the customized analyzer, the current code is like
IndexWriter indexWriter = new IndexWriter(indexDir, analyzer, true);
Do