Organizational Research By

Surprising Reserch Topic

How to facet phrases in solr?


Lately i have been trying to apply facet to a field with some values having multiple words(a phrase)? I have been suggested to use shingles but am not sure if that would work as expected as the required phrase should be taken from a given list.

For example: when i apply facet to a field, i get seperate facets for 'Information' and 'Technology' whereas i want it to be a single facet like 'Information Technology'.

How to facet a particular phrase in a particular field?

EDIT: The schema for the required field looks like this:


      
        

        
        
        
        



        
        
      
      

The shingles filter doesn't work, as it shows three facets for Information technology: information, technology and information technology.

asked May 16, 2015 in SOLR by rajesh
0 votes
17 views



Related Hot Questions



Government Jobs Opening


...