Re: MaxFieldLength

2016-07-08 Thread Michael McCandless
-Siraj Haider > > (212) 306-0154 > > > > *From:* Michael McCandless [mailto:luc...@mikemccandless.com] > *Sent:* Friday, July 08, 2016 11:56 AM > *To:* Lucene Users; Siraj Haider > *Subject:* Re: MaxFieldLength > > > > This was removed a while back and replac

RE: MaxFieldLength

2016-07-08 Thread Siraj Haider
(212) 306-0154 From: Michael McCandless [mailto:luc...@mikemccandless.com] Sent: Friday, July 08, 2016 11:56 AM To: Lucene Users; Siraj Haider Subject: Re: MaxFieldLength This was removed a while back and replaced with LimitTokenCountFilter, which you just need to tack onto your analysis chain to

Re: MaxFieldLength

2016-07-08 Thread Michael McCandless
This was removed a while back and replaced with LimitTokenCountFilter, which you just need to tack onto your analysis chain to get the same behavior as before. Mike McCandless http://blog.mikemccandless.com On Fri, Jul 8, 2016 at 11:53 AM, Siraj Haider wrote: > Hello there, > What is the defau

MaxFieldLength

2016-07-08 Thread Siraj Haider
Hello there, What is the default maximum field length in Lucene 6? In Lucene2.9 we use IndexWriter.MaxFieldLength to increase the default to 100,000 as we index some very large fields. What should be the alternate for that in Lucene 6? -- Regards -Siraj Haider (212) 306-0154 __

Re: setting MaxFieldLength in indexwriter

2011-09-28 Thread Peyman Faratin
eyman Faratin [mailto:pey...@robustlinks.com] >> Sent: Wednesday, September 28, 2011 9:08 AM >> To: java-user@lucene.apache.org >> Subject: setting MaxFieldLength in indexwriter >> >> Hi >> >> Newbie question. I'm trying to set the max field leng

RE: setting MaxFieldLength in indexwriter

2011-09-28 Thread Steven A Rowe
rg/apache/lucene/analysis/LimitTokenCountFilter.html> Steve > -Original Message- > From: Peyman Faratin [mailto:pey...@robustlinks.com] > Sent: Wednesday, September 28, 2011 9:08 AM > To: java-user@lucene.apache.org > Subject: setting MaxFieldLength in indexwriter > > Hi >

setting MaxFieldLength in indexwriter

2011-09-28 Thread Peyman Faratin
Hi Newbie question. I'm trying to set the max field length property of the indexwriter to unlimited. The old api is now deprecated but I can't seem to be able to figure out how to set the field with the new (IndexWriterConfig) API. I've tried IndexWriterConfig.maxFieldLength(Integer.MAX_VALUE)

RE: Question about MaxFieldLength

2011-08-28 Thread Uwe Schindler
In Lucene 3.x, this is already deprecated, you should not limit tokens using MaxFieldLength. There is already an TokenFilter and wrapping Analyzer available, that does limiting and you can add it to your analyzer and do it per-field with PerFieldAnalyzerWrapper: http://lucene.apache.org/java

Re: Question about MaxFieldLength

2011-08-27 Thread roz dev
M, roz dev wrote: > > > Hi All > > > > I have a question regarding MaxFieldLength. Is it a limit for number of > > tokens in 1 field per document or entire index? > > > > Example: > > > > If MaxFieldLength is set to 100 and I add a document whic

Re: Question about MaxFieldLength

2011-08-27 Thread Li Li
crementAndGet(); return true; }else{ return false; } } } On Sun, Aug 28, 2011 at 9:45 AM, roz dev wrote: > Hi All > > I have a question regarding MaxFieldLength. Is it a limit for number of > tokens in 1 field per document or

Question about MaxFieldLength

2011-08-27 Thread roz dev
Hi All I have a question regarding MaxFieldLength. Is it a limit for number of tokens in 1 field per document or entire index? Example: If MaxFieldLength is set to 100 and I add a document which has 105 tokens for 1 field then I expect 5 tokens to be ignored. but, if i add another document

Re: MaxFieldLength

2010-07-13 Thread Erick Erickson
Yep, that's pretty much it.. Erick On Tue, Jul 13, 2010 at 12:47 AM, manjula wijewickrema wrote: > 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 th

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

Re: MaxFieldLength

2010-07-12 Thread Erick Erickson
ceeds the default (Terms, not characters), no document will be truncated. The 10,000 limit also has no bearing on how much space indexing a document takes as long as there are fewer then 10,000 terms. That is, a document with 5,000 terms will take up just as much space with any MaxfieldLength &g

MaxFieldLength

2010-07-12 Thread manjula wijewickrema
truncate documents, if we increase the number of indexed documents (assume, there are no any individual documents which exceed the default MaxFieldLength of Lucene)? Thanx Manjula.

Re: Field sizes: maxFieldLength

2008-08-11 Thread Chris Hostetter
: In-Reply-To: <[EMAIL PROTECTED]> : Subject: Field sizes: maxFieldLength http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email. Even

Re: Field sizes: maxFieldLength

2008-08-11 Thread Mark Miller
Mark Miller <[EMAIL PROTECTED]> > 08/11/2008 05:13 PM > Please respond to > java-user@lucene.apache.org > > > To > java-user@lucene.apache.org > cc > > Subject > Re: Field sizes: maxFieldLength > > > > > > > [EMAIL PROTECTED] wrote: > &g

Re: Field sizes: maxFieldLength

2008-08-11 Thread Mark Miller
11/2008 05:13 PM Please respond to java-user@lucene.apache.org To java-user@lucene.apache.org cc Subject Re: Field sizes: maxFieldLength [EMAIL PROTECTED] wrote: Hi all - I know in advance that each of the fileds i index doesnt go more than 1000, Can i gain any performance improvement w

Re: Field sizes: maxFieldLength

2008-08-11 Thread Aravind . Yarram
o java-user@lucene.apache.org To java-user@lucene.apache.org cc Subject Re: Field sizes: maxFieldLength [EMAIL PROTECTED] wrote: > Hi all - > > I know in advance that each of the fileds i index doesnt go more than > 1000, Can i gain any performance improvement while wr

Re: Field sizes: maxFieldLength

2008-08-11 Thread Mark Miller
[EMAIL PROTECTED] wrote: Hi all - I know in advance that each of the fileds i index doesnt go more than 1000, Can i gain any performance improvement while writing the index by limiting the maxFieldLength to 200? tx Regards, Aravind R Yarram This message contains information from Equifax

Field sizes: maxFieldLength

2008-08-11 Thread Aravind . Yarram
Hi all - I know in advance that each of the fileds i index doesnt go more than 1000, Can i gain any performance improvement while writing the index by limiting the maxFieldLength to 200? tx Regards, Aravind R Yarram This message contains information from Equifax Inc. which may be

Re: MaxFieldLength or MaxFields?

2005-10-26 Thread Jeff Rodenburg
for Field > > 3? Field 3 values are added to the document individually, there's > > just a > > bunch of them. > > No. The max field length only comes into play for tokenized > (analyzed) fields. > > > 2. Is MaxFieldLength a consideration for this? > >

Re: MaxFieldLength or MaxFields?

2005-10-26 Thread Erik Hatcher
ed) fields. 2. Is MaxFieldLength a consideration for this? The default is 10,000, so you're safe :) From IndexWriter.java: public final static int DEFAULT_MAX_FIELD_LENGTH = 1; Any guidance before I go through the trouble of building the index would be greatly appreciated. Ne

MaxFieldLength or MaxFields?

2005-10-25 Thread Jeff Rodenburg
ns: 1. Does the DEFAULT_MAX_FIELD_LENGTH on IndexWriter come into play for Field 3? Field 3 values are added to the document individually, there's just a bunch of them. 2. Is MaxFieldLength a consideration for this? Any guidance before I go through the trouble of building the index would be greatly