great. thanks. that was helpful
Avlesh Singh wrote:
>
>>
>> you can do it using
>> solrQuery.setFilterQueries() and build AND queries of multiple
>> parameters.
>>
> Nope. You would need to read more -
> http://wiki.apache.org/solr/FilterQueryGuidance
>
> For your impatience, here's a quick sta
>
> you can do it using
> solrQuery.setFilterQueries() and build AND queries of multiple parameters.
>
Nope. You would need to read more -
http://wiki.apache.org/solr/FilterQueryGuidance
For your impatience, here's a quick starter -
#and between two fields
solrQuery.setQuery("+field1:foo +field2:
I think I found the answer. needed to read more API documentation :-)
you can do it using
solrQuery.setFilterQueries() and build AND queries of multiple parameters.
Avlesh Singh wrote:
>
> For a starting point, this might be a good read -
> http://www.lucidimagination.com/search/document/f4d9
For a starting point, this might be a good read -
http://www.lucidimagination.com/search/document/f4d91628ced293bf/lucene_query_to_solr_query
Cheers
Avlesh
On Fri, Nov 13, 2009 at 10:02 PM, javaxmlsoapdev wrote:
>
> I already did dive in before. I am using solrj API and SolrQuery object to
> b
I already did dive in before. I am using solrj API and SolrQuery object to
build query. but its not clear/written how to build booleanQuery ANDing
bunch of different attributes in the index. Any samples please?
Avlesh Singh wrote:
>
> Dive in - http://wiki.apache.org/solr/Solrj
>
> Cheers
> Av
Dive in - http://wiki.apache.org/solr/Solrj
Cheers
Avlesh
On Fri, Nov 13, 2009 at 9:39 PM, javaxmlsoapdev wrote:
>
> I want to build AND search query against field1 AND field2 etc. Both these
> fields are stored in an index. I am migrating lucene code to Solr.
> Following
> is my existing lucen