Re: analyzer to populate more that one field of Lucene document

2006-09-21 Thread Boris Galitsky
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

Re: analyzer to populate more that one field of Lucene document

2006-09-21 Thread Erick Erickson
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

analyzer to populate more that one field of Lucene document

2006-09-21 Thread Boris Galitsky
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

Re: writer.minMergeDocs in lucene 2.0

2006-09-21 Thread Yonik Seeley
On 9/21/06, Ismail Siddiqui <[EMAIL PROTECTED]> wrote: in lucen 1.4.3 there is field called writer.minMergeDocs.. i found writer.setMaxMergeDocs() method in lucne 2.0 but not any method called writer.setMinMergeDocs().. Try setMaxBufferedDocs() -Yonik http://incubator.apache.org/solr Solr, th

writer.minMergeDocs in lucene 2.0

2006-09-21 Thread Ismail Siddiqui
Hi all, I am trying to index a database.. indexing is taking quite a time.. i am trtying to tune it.for which i am trying to increase minMergeDocs.. in lucen 1.4.3 there is field called writer.minMergeDocs.. i found writer.setMaxMergeDocs() method in lucne 2.0 but not any method called writer.setM

RE: Analysis/tokenization of compound words

2006-09-21 Thread Binkley, Peter
Aspell has some support for compound words that might be useful to look at: http://aspell.sourceforge.net/man-html/Compound-Words.html#Compound-Word s Peter Peter Binkley Digital Initiatives Technology Librarian Information Technology Services 4-30 Cameron Library University of Alberta Libraries

Re: Re[2]: ParallelMultiSearcher

2006-09-21 Thread Yonik Seeley
On 9/21/06, Yura Smolsky <[EMAIL PROTECTED]> wrote: ok. I have big issue when I try to search ParallelMultiSearcher for PrefixQuery. This query is being rewritten to BooleanQuery during search. This causes Similarity to calculate docFreq for each Term in the BooleanQuery. So if we have a lot of

Re[2]: ParallelMultiSearcher

2006-09-21 Thread Yura Smolsky
Hello, Ronnie. RK> Dont ask to ask, just ask! ;) ok. I have big issue when I try to search ParallelMultiSearcher for PrefixQuery. This query is being rewritten to BooleanQuery during search. This causes Similarity to calculate docFreq for each Term in the BooleanQuery. So if we have a lot of resu

Re: ParallelMultiSearcher

2006-09-21 Thread Ronnie Kolehmainen
Dont ask to ask, just ask! ;) Citerar Yura Smolsky <[EMAIL PROTECTED]>: > Hello, java-user. > > Does anyone here uses ParallelMultiSearcher for searching big arrays > of data? I have some questions about PrefixQuery search.. > > Thanks in advance. > > -- > Yura Smolsky, > http://altervisionm

ParallelMultiSearcher

2006-09-21 Thread Yura Smolsky
Hello, java-user. Does anyone here uses ParallelMultiSearcher for searching big arrays of data? I have some questions about PrefixQuery search.. Thanks in advance. -- Yura Smolsky, http://altervisionmedia.com/ - To unsubscrib