FAQ
i.e. an analyzer which takes the field to be analyzed as is into the index...?
The fields I am trying to index have a max length of 3 words and I don't want to match sub terms of these fields.

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

Search Discussions

  • Federico Fissore at May 9, 2011 at 7:52 am

    Clemens Wyss, il 09/05/2011 09:42, ha scritto:
    i.e. an analyzer which takes the field to be analyzed as is into the index...?
    The fields I am trying to index have a max length of 3 words and I don't want to match sub terms of these fields.
    keyword analyzer?

    https://lucene.apache.org/java/3_0_3/api/core/org/apache/lucene/analysis/KeywordAnalyzer.html

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org
  • Clemens Wyss at May 9, 2011 at 8:00 am
    Thx!
    -----Ursprüngliche Nachricht-----
    Von: Federico Fissore
    Gesendet: Montag, 9. Mai 2011 09:52
    An: java-user@lucene.apache.org
    Betreff: Re: Is there kind of a "NullAnalyzer" ?

    Clemens Wyss, il 09/05/2011 09:42, ha scritto:
    i.e. an analyzer which takes the field to be analyzed as is into the index...?
    The fields I am trying to index have a max length of 3 words and I don't
    want to match sub terms of these fields.
    keyword analyzer?

    https://lucene.apache.org/java/3_0_3/api/core/org/apache/lucene/analysis
    /KeywordAnalyzer.html

    ---------------------------------------------------------------------
    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
  • Uwe Schindler at May 9, 2011 at 8:08 am
    Hi,

    KeywordTokenizer and KeywordAnalyzer.

    The same functionality can be achieved per field using
    Field.INDEX_NOT_ANALYZED.

    -----
    Uwe Schindler
    H.-H.-Meier-Allee 63, D-28213 Bremen
    http://www.thetaphi.de
    eMail: uwe@thetaphi.de
    -----Original Message-----
    From: Clemens Wyss
    Sent: Monday, May 09, 2011 9:43 AM
    To: java-user@lucene.apache.org
    Subject: Is there kind of a "NullAnalyzer" ?

    i.e. an analyzer which takes the field to be analyzed as is into the index...?
    The fields I am trying to index have a max length of 3 words and I don't want
    to match sub terms of these fields.

    ---------------------------------------------------------------------
    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
  • Clemens Wyss at May 9, 2011 at 8:30 am

    The same functionality can be achieved per field using
    Field.INDEX_NOT_ANALYZED. ;)
    -----Ursprüngliche Nachricht-----
    Von: Uwe Schindler
    Gesendet: Montag, 9. Mai 2011 10:07
    An: java-user@lucene.apache.org
    Betreff: RE: Is there kind of a "NullAnalyzer" ?

    Hi,

    KeywordTokenizer and KeywordAnalyzer.

    The same functionality can be achieved per field using
    Field.INDEX_NOT_ANALYZED.

    -----
    Uwe Schindler
    H.-H.-Meier-Allee 63, D-28213 Bremen
    http://www.thetaphi.de
    eMail: uwe@thetaphi.de
    -----Original Message-----
    From: Clemens Wyss
    Sent: Monday, May 09, 2011 9:43 AM
    To: java-user@lucene.apache.org
    Subject: Is there kind of a "NullAnalyzer" ?

    i.e. an analyzer which takes the field to be analyzed as is into the index...?
    The fields I am trying to index have a max length of 3 words and I
    don't want
    to match sub terms of these fields.

    ---------------------------------------------------------------------
    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

    ---------------------------------------------------------------------
    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 9, '11 at 7:43a
activeMay 9, '11 at 8:30a
posts5
users3
websitelucene.apache.org

People

Translate

site design / logo © 2022 Grokbase