On Feb 2, 2008 3:43 PM, Renaud Delbru <[EMAIL PROTECTED]> wrote: > I was looking at the discussion of SOLR-281. If I understand correctly, > the task would be to write my own search component class, > SpanQueryComponent that extends the SearchComponent class, then > overwriting the declaration of the "query searchComponent" in > solrconfig.xml: > <searchComponent name="query" class="my.package.SpanQueryComponent" /> > Then, I will be able to use directly my own query syntax and query > component ? Is it correct ?
You could, but that would be the hard way (by a big margin). There are pluggable query parsers now (see QParserPlugin)... but the current missing piece is being able to specify a new parser plugin from solrconfig.xml -Yonik