lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bamford <chris.bamf...@scalix.com>
Subject Search question (newbie)
Date Thu, 03 Jul 2008 13:38:57 GMT
Hi,

Can someone point me in the right direction please?
How can I trap this situation correctly?  I receive user queries like 
this (quotes included):

    /from:"fred flintston*"/

Which produces a query string of

    /+from:fred  body:flintston/       (where /body/ is the default field)

What I want is:

/    +from:fred +from:flintston*/

In other words, I want quoted expressions to be treated as single units..
Thanks for any pointers,

- Chris


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message