FAQ
Hi

Exist a max length for a Field value?
I have problems indexing large body files.
The bottom isn't indexed.

Bye,
Ernesto.

--
Ernesto De Santis - Colaborativa.net
Córdoba 1147 Piso 6 Oficinas 3 y 4
(S2000AWO) Rosario, SF, Argentina.



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

Search Discussions

  • Luke Shannon at May 6, 2005 at 9:49 pm
    Hi;

    I think by default only 10,000 terms will be indexed for a field.

    You can change this using the maxFieldLength method of IndexWriter.

    Luke

    ----- Original Message -----
    From: "Ernesto De Santis" <ernesto.desantis@colaborativa.net>
    To: "Lucene Users List" <java-user@lucene.apache.org>
    Sent: Friday, May 06, 2005 5:42 PM
    Subject: Max Field Length

    Hi

    Exist a max length for a Field value?
    I have problems indexing large body files.
    The bottom isn't indexed.

    Bye,
    Ernesto.

    --
    Ernesto De Santis - Colaborativa.net
    Córdoba 1147 Piso 6 Oficinas 3 y 4
    (S2000AWO) Rosario, SF, Argentina.



    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org
  • Bill Tschumy at May 6, 2005 at 9:50 pm

    On May 6, 2005, at 4:42 PM, Ernesto De Santis wrote:

    Hi

    Exist a max length for a Field value?
    I have problems indexing large body files.
    The bottom isn't indexed.

    Bye,
    Ernesto.

    --
    Ernesto De Santis - Colaborativa.net
    Córdoba 1147 Piso 6 Oficinas 3 y 4
    (S2000AWO) Rosario, SF, Argentina.
    After you create your IndexWriter, do the following:

    writer.maxFieldLength = Integer.MAX_VALUE;

    Substitute you own limit if you don't want it (effectively)
    unlimited. The default value is 10,000 terms.


    --
    Bill Tschumy
    Otherwise -- Austin, TX
    http://www.otherwise.com



    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedMay 6, '05 at 9:41p
activeMay 6, '05 at 9:50p
posts3
users3
websitelucene.apache.org

People

Translate

site design / logo © 2022 Grokbase