[opencms-dev] Lucene search: Change default operator

Robert Petermeier robert2.0 at gmx.de
Thu Apr 6 09:50:25 CEST 2006


Ernesto,

Ernesto De Santis wrote:
> You try to use the lucene method directly?
>
> I think that this will be work.
> Is a static method.

Actually no, it isn't. OpenCms uses only static methods of class 
QueryParser, but these are marked deprecated. And they do not allow to 
set the default operator.

What I absolutely want to avoid is building my own search engine 
and,even more, modifying OpenCms code.

Thanks anyway.


Robert



More information about the opencms-dev mailing list