Hi, The fq *is* for filtering.
What is your end goal, what are you trying to achieve? Otis Solr & ElasticSearch Support http://sematext.com/ On Dec 26, 2012 11:22 AM, "Nalini Kartha" <nalinikar...@gmail.com> wrote: > Hi, > > I'm trying to figure out how to convert the fq params that are being passed > to Solr into something that can be used to filter the results of a query > that's being issued against the Lucene IndexSearcher (I'm modifying some > Lucene code to issue the query so calling through to one of the > SolrIndexSearcher methods would be ugly). > > Looks like one of the IndexSearcher.search(Query query, Filter filter, ...) > methods would do what I want but I'm wondering if there's any easy way of > converting the fq params into a Filter? Or is there a better way of doing > all of this? > > Thanks, > Nalini >