Thanks, yes creating a RequestHandler is how Solr is designed to be used.  

----- Original Message ----
From: Chris Hostetter <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Cc: jason rutherglen <[EMAIL PROTECTED]>
Sent: Thursday, April 6, 2006 2:50:57 PM
Subject: Re: XML Query


: > I think someone asked about this.  Seems like it would be good to
: migrate to an XML HTTP POST for the query call to SolrServlet and use

step one would be SOLR-7, supporting POST queries at all, step 2 would be
adding support for the XML parser.

: The easiest way would be to add another parameter specifying the
: default query syntax.
:   qformat=lucene     // default QueryParser syntax
:   qformat=xml         // Mark's XML query syntax
:   qformat=surround  // Paul's surround query syntax

You mean the the standard request handler?

Why not add an XmlRequestHandler and an SurroundRequestHandler that each
parse their "q"  param using the appropraite parser?




-Hoss




Reply via email to