What if the question is How to filter out documents based on field values?
ex. some make-up product document has a multivalued popular_year (range) field. product: pink high heel popular_year: 1990 - 1999 popular_year: 2002 - 2004 ... A user wants to find out products that are popular in a particular year, say 2003. How can I satisfy this query? 1. make solr supports "range field" (I don't think it is currently supported) 2. write some plugin/extension to filter out documents not in the user's input year. or ? Thanks! hossman wrote: > > > : I have to filter the output result from the indexer.In which class i > have to > : extend and any example is available means it ll be good for me.Thanks > in > : advance. > > you'll have to ealborate a little bit on what it is you are trying to do > ... it's not clear wether you are interested in filtering out whole > documents, or certain fields across all documents .. it's also not clear > what you mean by "indexer" ... i suspect you are refering to Solr as a > whole (ie: don't let certain users see certain docs when searching) but > there's no way to be sure what you mean given the amount of information in > your question. > > > > > -Hoss > > > -- View this message in context: http://www.nabble.com/I-have-to-filter-the-output-result-from-the-indexer..-tp22078151p22442172.html Sent from the Solr - Dev mailing list archive at Nabble.com.
