what is the status of the default operator feature of QueryParser?

i want to have a lucene enabled app using AND as it's default operator
using the code: 

  QueryParser parser = new QueryParser(FIELD, service.getAnalyzer());
  parser.setOperator(parser.DEFAULT_OPERATOR_AND);
  Query query = parser.parse(queryString, FIELD, service.getAnalyzer());

results are however not as expected but rather the QueryParser still
uses OR.

is this not the way i am supposed to use the feature? 
why is it not working?
-- 
Mats Nyberg 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to