lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis.gospodne...@gmail.com>
Subject Re: Converting fq params to Filter object
Date Wed, 26 Dec 2012 20:34:54 GMT
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" <nalinikartha@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message