I changed  values to text_ws 

Now I only seem to have problems with fieldvalues that hold spaces....see
below:

   <field name="city" type="text_ws" indexed="true" stored="true"/>
   <field name="theme" type="text_ws" indexed="true" stored="true"
multiValued="true" omitNorms="true" termVectors="true" />
   <field name="features" type="text_ws" indexed="true" stored="true"
multiValued="true"/>
   <field name="services" type="text_ws" indexed="true" stored="true"
multiValued="true"/>
   <field name="province" type="text_ws" indexed="true" stored="true"/>

It has now become:

 "facet_counts":{
  "facet_queries":{},
  "facet_fields":{
        "theme":[
         "Gemeentehuis",2,
         "&",1,   <======== still & is created as separate facet
         "Strand",1,
         "Zee",1],
        "features":[
         "Cafe",3,
         "Danszaal",2,
         "Tuin",2,
         "Strand",1],
        "province":[
         "Gelderland",1,
         "Utrecht",1,
         "Zuid-Holland",1], <======== this is now correct
        "services":[
         "Exclusieve",2,
         "Fotoreportage",2,
         "huur",2,
         "Live",1, <======== "Live muziek" is split and separate facets are 
created
         "muziek",1]},
  "facet_dates":{}}}
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Indexing-fieldvalues-with-dashes-and-spaces-tp1023699p1023787.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to