Re: MaxFieldLength

2010-07-12 Thread manjula wijewickrema
Ok Erick, answer is there. If there is no any document exceeds the default maxfieldlength, then no any document will be truncated although we increase the no. of documents in the index. A'm I correct? Thanx for your commitment. Manjula. On Tue, Jul 13, 2010 at 3:57 AM, Erick Erickson wrote: > I'

Re: MaxFieldLength

2010-07-12 Thread Erick Erickson
I'm not sure I understand your question. The number of documents has no bearing on the field length of each, which is what the max field length is all about. You can change the value here by calling Indexwriter.setMaxFieldLength to something shorter than the default. So no, if no document exceeds

AUTO: Paul Magrath is out of the office (returning 13/07/2010)

2010-07-12 Thread Paul D Magrath
I am out of the office until 13/07/2010. Note: This is an automated response to your message "Re: scoring and index size" sent on 12/7/10 8:49:02. This is the only notification you will receive while this person is away. -

How to implement fuzzy phrase search with Lucene?

2010-07-12 Thread a peng
Hi, I have a requirement recently to implement fuzzy phrase, for example, in the indexed document there is a sentence "I like lucene very much". And when I search "I do like lucene very much" or "I like lucene much", I both want to get the search result, can someone guide me how to implement this f

MaxFieldLength

2010-07-12 Thread manjula wijewickrema
Hi, I have seen that, onece the field length of a document goes over a certain limit ( http://lucene.apache.org/java/2_9_3/api/all/org/apache/lucene/index/IndexWriter.html#DEFAULT_MAX_FIELD_LENGTH gives it as 10,000 terms-default) Lucene truncates those documents. Is there any possibility to trunc

Re: scoring and index size

2010-07-12 Thread manjula wijewickrema
Hi Koji, Thanks for your information Manjula On Fri, Jul 9, 2010 at 5:04 PM, Koji Sekiguchi wrote: > (10/07/09 19:30), manjula wijewickrema wrote: > >> Uwe, thanx for your comments. Following is the code I used in this case. >> Could you pls. let me know where I have to insert UNLIMITED fiel