Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12329

Default Analyzer for known and unknown fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Schema and Analysis
    • None

    Description

      Hi

      Is there any way I can set the Tokenizer to Keyword Tokenizer instead of StandardTokenizer by default for all known fields as well as unknown fileds ( In schema less mode ).  Basically I don't want Solr to break the terms I index into multiple terms. It also affects faceting. when I try to facet on a term CPU in an example Data Set ( CPU="Quad 2 Core" , CPU=Intel I3 ) , i get 5 facets ( Quad , 2, Core , Intel and I3 ) which is not the behavior I'm expecting. I'm expecting only 2 facets.

      Can it be made configurable too. For example can a user define the Analyzers for all the unknown fields through a wildcard syntax or something

       

      Thanks

      Zyan

      Attachments

        Activity

          People

            Unassigned Unassigned
            zyan Zyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: