You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by vobium <ch...@gmail.com> on 2017/09/15 11:14:00 UTC

solr Facet.contains

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