lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sukalyan_banerjee <>
Subject Restrict the no of outcome for any particular field in solr
Date Wed, 09 Feb 2011 12:45:44 GMT

   I have 4 fields in Solr,(i.e CITY,AIRPORT,ATTRACTION,HOTELS).After
indexing data when I makes any query to solr, it retruns me the
corresponding data.
Now is it possible to query solr so that it will return 4 CITY if there is
more than 4 city,3 AIRPORT if there is more than 3 AIRPORT and so on.
Now if there is 2 CITY in that scenario it will return 2 city.
View this message in context:
Sent from the Lucene - General mailing list archive at

View raw message