Hi Yonik,
Yonik Seeley wrote:
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
Hum, I would prefer to follow the easiest way ;o).
Could you explain me briefly the easiest way ? And give me some hints on
which classes I need to extend to achieve my goal ?
Regards.
--
Renaud Delbru,
E.C.S., Ph.D. Student,
Semantic Information Systems and
Language Engineering Group (SmILE),
Digital Enterprise Research Institute,
National University of Ireland, Galway.
http://smile.deri.ie/