cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eike Jordan <jor...@fiz-chemie.de>
Subject Re: Cocoon and Lucene Default Boolean Search
Date Tue, 28 Jul 2009 12:17:25 GMT
Hi Chuck,

AFAIK the org.apache.lucene.queryParser.QueryParser has a "setDefaultOperator"
methode. That is, something like

parser.setDefaultOperator(Operator.AND);

will do it.

~eike

Chuck Burd wrote:
> It seems that the default search for the Lucene block is a Boolean OR. 
> Is there a way to change this default to Boolean AND?
> 
> Thanks,
> 
> Chuck Burd
> crburd@gmail.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


-- 
Eike Jordan  <jordan@fiz-chemie.de>

| FIZ CHEMIE BERLIN
| Franklin Str. 11               ------    ,__o
| 10587 Berlin                  ------   _-\_<,
|                              ------   (+)/'(+)
| Tel. : 0049-30-39977 214


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message