lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bin Lan <b...@perimeterusa.com>
Subject Changing behavior of StandardAnalyzer
Date Wed, 14 Nov 2012 05:20:57 GMT
So currently, if I use StandardAnalyzer to construct a QueryParser, and
pass tString "From: someone@gmail.com" to the parser, it returns a query
which is "From: someone From: gmail.com". Is there easy way that I can
change this so it returns "From: "someone gmail.com"" instead?

We had a in-house Analyzer implementation, it used to do this on lucene
2.9, but somehow the behavior changes after we upgrade to 3.6.1.

Regards
--
Bin Lan
Software Developer
Perimeter E-Security
O - (203)541-3412

Follow Us on Twitter: www.twitter.com/PerimeterNews
Read Our Blog: security.perimeterusa.com/blog



This message is for the sole use of the intended recipient(s) and may contain confidential
and/or privileged information of Perimeter Internetworking Corp.  Any unauthorized review,
use, copying, disclosure, or distribution is prohibited.  If you are not the intended recipient,
please immediately contact the sender by reply email and delete all copies of the original
message.



--
 The sender of this email subscribes to Perimeter E-Security's email
 anti-virus service. This email has been scanned for malicious code and is
 believed to be virus free. For more information on email security please
 visit: http://www.perimeterusa.com/services/messaging
 This communication is confidential, intended only for the named recipient(s)
 above and may contain trade secrets or other information that is exempt from
 disclosure under applicable law. Any use, dissemination, distribution or
 copying of this communication by anyone other than the named recipient(s) is
 strictly prohibited. If you have received this communication in error, please
 delete the email and immediately notify our Command Center at 203-541-3444.

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