lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vobium <charlizesmith...@gmail.com>
Subject solr Facet.contains
Date Fri, 15 Sep 2017 11:15:45 GMT
Hello,

I want to limit my facet data by using substring (only that contain
specified substring). My solr version is 4.8.0

e.g if doc with such type of string (field with such type of data is
multivalued and splited with "~")

 India/maha/mumbai~India/gujarat/badoda
 India/goa/xyz
 India/raj/jaypur
 India/maha/kolhapur
 India/maha/mumbai
 India/maha/nashik

Expected  facet Data that contain maha as  substring
o/p
India/maha/mumbai (2)
 India/maha/kolhapur(1)
 India/maha/nashik(1)

I tried it by using facet.contains but it is not working
so plz give solution for this issue 



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message