You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by WATHELET Thomas <th...@europarl.europa.eu> on 2008/04/15 12:31:24 UTC

Max length

Hi my question is very simple,
Is there a size limitation for the text to index
Becaus I try to index a long document and the content of this one is
stored correctly into the index but it seems that the indexation stopp
at the middle of the document.I can't find any word located after the
middle.
Any body can help me thank's
 
 

Thomas WATHELET
Development Team
Tel.: (+352) 4300 24752    
E-mail: thomas.wathelet@europarl.europa.eu
<ma...@europarl.europa.eu> 

 

 

Re: Max length

Posted by Grant Ingersoll <gs...@apache.org>.
On IndexWriter, have a look at the setMaxFieldLength() method.


On Apr 15, 2008, at 6:31 AM, WATHELET Thomas wrote:

> Hi my question is very simple,
> Is there a size limitation for the text to index
> Becaus I try to index a long document and the content of this one is  
> stored correctly into the index but it seems that the indexation  
> stopp at the middle of the document.I can't find any word located  
> after the middle.
> Any body can help me thank's
>
> <ittrad.bmp>
>
> Thomas WATHELET
> Development Team
> Tel.: (+352) 4300 24752
> E-mail: thomas.wathelet@europarl.europa.eu
>
>
>
>

--------------------------
Grant Ingersoll

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ







Re: Max length

Posted by Erick Erickson <er...@gmail.com>.
The default is 10,000 characters, but, as Grant says, you can change it with
IndexWriter.setMaxFieldLength().

Erick

On Tue, Apr 15, 2008 at 6:31 AM, WATHELET Thomas
<th...@europarl.europa.eu> wrote:

>  Hi my question is very simple,
> Is there a size limitation for the text to index
> Becaus I try to index a long document and the content of this one is
> stored correctly into the index but it seems that the indexation stopp at
> the middle of the document.I can't find any word located after the middle.
> Any body can help me thank's
>
>
>  *Thomas WATHELET*
> Development Team
> Tel.: (+352) 4300 24752
> E-mail: thomas.wathelet@europarl.europa.eu
>
>
>
>