You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by yo...@apache.org on 2007/05/26 23:11:06 UTC

svn commit: r541940 - /lucene/solr/trunk/example/solr/conf/solrconfig.xml

Author: yonik
Date: Sat May 26 14:11:06 2007
New Revision: 541940

URL: http://svn.apache.org/viewvc?view=rev&rev=541940
Log:
give a ping query that works with many different schemas, and is easy to see the source of in the logs

Modified:
    lucene/solr/trunk/example/solr/conf/solrconfig.xml

Modified: lucene/solr/trunk/example/solr/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/solrconfig.xml?view=diff&rev=541940&r1=541939&r2=541940
==============================================================================
--- lucene/solr/trunk/example/solr/conf/solrconfig.xml (original)
+++ lucene/solr/trunk/example/solr/conf/solrconfig.xml Sat May 26 14:11:06 2007
@@ -444,7 +444,7 @@
          & separated key=val pairs ... but there shouldn't be any
          URL escaping of the values -->
     <pingQuery>
-     qt=dismax&amp;q=solr&amp;start=3&amp;fq=id:[* TO *]&amp;fq=cat:[* TO *]
+     qt=standard&amp;q=solrpingquery
     </pingQuery>
     <!-- configure a healthcheck file for servers behind a loadbalancer
     <healthcheck type="file">server-enabled</healthcheck>



Re: svn commit: r541940 - /lucene/solr/trunk/example/solr/conf/solrconfig.xml

Posted by Chris Hostetter <ho...@fucit.org>.
: > FYI: the old query was as complex as it was to try and make clear the "no
: > URL escaping" aspect of how it (unfortunately) needs to be written. (hence
: > the white spaces and "*" charaters).
:
: Can we move the complex example into the comments?

I suppose, or just toss the fq=id:[* TO *] back in .. if anyone changes
their schema enough to get rid of the id field *and* cares about the ping
query, i think it's fair to assume they've read the solrconfig.xml in
depth enough to see that they can/should change it.



-Hoss


Re: svn commit: r541940 - /lucene/solr/trunk/example/solr/conf/solrconfig.xml

Posted by Yonik Seeley <yo...@apache.org>.
On 5/26/07, Chris Hostetter <ho...@fucit.org> wrote:
>
> :           &amp; separated key=val pairs ... but there shouldn't be any
> :           URL escaping of the values -->
> :      <pingQuery>
> : -     qt=dismax&amp;q=solr&amp;start=3&amp;fq=id:[* TO *]&amp;fq=cat:[* TO *]
> : +     qt=standard&amp;q=solrpingquery
> :      </pingQuery>
>
> FYI: the old query was as complex as it was to try and make clear the "no
> URL escaping" aspect of how it (unfortunately) needs to be written. (hence
> the white spaces and "*" charaters).

Can we move the complex example into the comments?

-Yonik

Re: svn commit: r541940 - /lucene/solr/trunk/example/solr/conf/solrconfig.xml

Posted by Chris Hostetter <ho...@fucit.org>.
:           &amp; separated key=val pairs ... but there shouldn't be any
:           URL escaping of the values -->
:      <pingQuery>
: -     qt=dismax&amp;q=solr&amp;start=3&amp;fq=id:[* TO *]&amp;fq=cat:[* TO *]
: +     qt=standard&amp;q=solrpingquery
:      </pingQuery>

FYI: the old query was as complex as it was to try and make clear the "no
URL escaping" aspect of how it (unfortunately) needs to be written. (hence
the white spaces and "*" charaters).



-Hoss