You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Santosh <sa...@softprosys.com> on 2004/12/08 10:24:39 UTC
searchig with special characters
whenever I search with some special chracters like " *world " I am getting exception . how can I avoid this? and for what other characters lucene give this type of exceptions?
-----------------------SOFTPRO DISCLAIMER------------------------------
Information contained in this E-MAIL and any attachments are
confidential being proprietary to SOFTPRO SYSTEMS is 'privileged'
and 'confidential'.
If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.
In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.
SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects.
The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.
------------------------------------------------------------------------
Re: searchig with special characters
Posted by Satoshi Hasegawa <ha...@p03.worldsoftware.co.jp>.
You cannot use a wild character as the first character of the search.
http://jakarta.apache.org/lucene/docs/queryparsersyntax.html
----- Original Message -----
From: "Santosh" <sa...@softprosys.com>
To: "Lucene Users List" <lu...@jakarta.apache.org>
Sent: Wednesday, December 08, 2004 6:24 PM
Subject: searchig with special characters
whenever I search with some special chracters like " *world " I am getting
exception . how can I avoid this? and for what other characters lucene give
this type of exceptions?
-----------------------SOFTPRO DISCLAIMER------------------------------
Information contained in this E-MAIL and any attachments are
confidential being proprietary to SOFTPRO SYSTEMS is 'privileged'
and 'confidential'.
If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.
In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.
SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects.
The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: searchig with special characters
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Leading wildcard character (*) is not allowed if you use QueryParser
that comes with Lucene. Reason: performance. See many discussions
about this on lucene-user mailing list. Also see the search sytax
document on the Lucene site. What other characters are you having
trouble with?
Otis
--- Santosh <sa...@softprosys.com> wrote:
> whenever I search with some special chracters like " *world " I am
> getting exception . how can I avoid this? and for what other
> characters lucene give this type of exceptions?
>
>
> -----------------------SOFTPRO
> DISCLAIMER------------------------------
>
> Information contained in this E-MAIL and any attachments are
> confidential being proprietary to SOFTPRO SYSTEMS is 'privileged'
> and 'confidential'.
>
> If you are not an intended or authorised recipient of this E-MAIL or
> have received it in error, You are notified that any use, copying or
> dissemination of the information contained in this E-MAIL in any
> manner whatsoever is strictly prohibited. Please delete it
> immediately
> and notify the sender by E-MAIL.
>
> In such a case reading, reproducing, printing or further
> dissemination
> of this E-MAIL is strictly prohibited and may be unlawful.
>
> SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
> hereto is free from computer viruses or other defects.
>
> The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
> those of the author and are not necessarily those of SOFTPRO SYSTEMS.
>
------------------------------------------------------------------------
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org