lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keswani, Nitin - BLS CTR" <>
Subject RE: CommaSplit and query is free text search
Date Thu, 21 Mar 2013 18:54:32 GMT
You can use a type defined below to split on comma. Please note I have not used any additional
Based on your requirements you might want to add more filters for further processing after
tokenisation :

<!-- A text field that only splits on comma for exact matching of words -->
    <fieldType name="text_split_on_comma" class="solr.TextField" positionIncrementGap="100">
        <tokenizer class="solr.PatternTokenizerFactory" pattern="," />



Nitin Keswani

-----Original Message-----
From: anurag.jain [] 
Sent: Thursday, March 21, 2013 10:10 AM
Subject: CommaSplit and query is free text search

I have field named as  worked_company_name.

in json input i am giving value like


-> data is very bad. means it may have comma etc.

<field name="worked_company_name" type="comaSplitwithsearch" indexed="true"

so can you please tell me how type should ? 

comaSplitwithsearch ?? 


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message