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 Cheng Zhou <zh...@gmail.com> on 2011/05/25 17:24:21 UTC
Is there a limit on the size of the text for a single field?
Hi, I wonder if I can associate a text string of over 5MB with a single
field.
Thanks.
Re: Is there a limit on the size of the text for a single field?
Posted by Cheng Zhou <zh...@gmail.com>.
thanks lan.
On Wed, May 25, 2011 at 11:44 PM, Ian Lea <ia...@gmail.com> wrote:
> Sure. See the javadocs for IndexWriter.setMaxFieldLength or
> LimitTokenCountAnalyzer if you are using 3.1.0.
>
>
> --
> Ian.
>
>
> On Wed, May 25, 2011 at 4:24 PM, Cheng Zhou <zh...@gmail.com>
> wrote:
> > Hi, I wonder if I can associate a text string of over 5MB with a single
> > field.
> >
> > Thanks.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
Re: Is there a limit on the size of the text for a single field?
Posted by Ian Lea <ia...@gmail.com>.
Sure. See the javadocs for IndexWriter.setMaxFieldLength or
LimitTokenCountAnalyzer if you are using 3.1.0.
--
Ian.
On Wed, May 25, 2011 at 4:24 PM, Cheng Zhou <zh...@gmail.com> wrote:
> Hi, I wonder if I can associate a text string of over 5MB with a single
> field.
>
> Thanks.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org