You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ran Peled <ra...@myheritage.com> on 2011/07/21 18:42:37 UTC

Disabling Coord on Solr queries

I am looking for the simplest way to disable coord in Solr queries.  I have
found out Lucene allows this by construction of a BooleanQuery with
diableCoord=false:
public *BooleanQuery*(boolean disableCoord)

Is there any way to activate this functionality directly from a Solr query?

Thanks,
Ran

Re: Disabling Coord on Solr queries

Posted by Chris Hostetter <ho...@fucit.org>.
: I am looking for the simplest way to disable coord in Solr queries.  I have
: found out Lucene allows this by construction of a BooleanQuery with
: diableCoord=false:
: public *BooleanQuery*(boolean disableCoord)
: 
: Is there any way to activate this functionality directly from a Solr query?

Not that i know of, but if you'd like to open a jira issue it owuld 
probably be fairly easy to add this to the LuceneQParser so you could do 
something like...

  q={!lucene coord=false}my boolean query


-Hoss