lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nader Henein <...@bayt.net>
Subject Re: BOOLEAN OPERATOR HOWTO
Date Mon, 18 Jul 2005 13:02:06 GMT
Sounds like straight forward string manipulation, just (a) tokenize your string into a collection,
and then (b) manipulate the collection to reach your desired stream, then (c) join it back
into a string. Oh and once again Erik is spelled consistently with a 'k' not a 'c', you got
the first one right then, everything went to hell :-)

Nader



Karthik N S wrote:

> ** 
>
> *Hi*
>
> *Lucene*
>
> *Apologies......................*
>
> *I have 2 Questions.*
>
> *1) **The Search Criteria  src  requires to automatically fill   "  "  
> between  Search words with a Boolean Operator   "  AND ".*
>
> ** 
> *2)* **The Search Criteria  src  requires to automatically recognise 
> the existing  Boolean Query  ' AND , + '  present and append the same **
> **     with **** out any manupulations.**
> *
> ** 
> *Ex : - *
> *Search Word  =   *
> ** 
> *'Lucene in Action Erik hatcher and  Otis  + Gospodnetic '   =   
> **lucene AND action AND Eric  AND hatcher AND otis + gospodnetic .*
> *
>
> ** 
>
> *How to Achieve this , Is there any mechanism built into Lucene to 
> handle such situations.*
>
>  
>
> *Thx in Advance.*
>
>
> *WITH WARM REGARDS
> HAVE A NICE DAY
> [ N.S.KARTHIK]*
>

-- 

Nader S. Henein
Senior Applications Architect

Bayt.com


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message