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 Mohsen Saboorian <mo...@gmail.com> on 2007/04/04 08:00:57 UTC
Error-Tolerant
--
View this message in context: http://www.nabble.com/Error-Tolerant-tf3524057.html#a9831495
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Error Tolerant Query Parser
Posted by Mohsen Saboorian <mo...@gmail.com>.
Sorry for dual posting. I've just inadvertently submit form before writing
the body :)
Is there any error tolerant query parser ever written for Lucene? What is
the way websites use for advanced searching with Lucene?
--
View this message in context: http://www.nabble.com/Error-Tolerant-tf3524057.html#a9831496
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Error Tolerant Query Parser
Posted by Mohsen Saboorian <mo...@gmail.com>.
Thanks,
Absolute tolerance :)
It seems that there is no other way.
I found somethinig here:
http://www.nabble.com/Error-tolerant-query-parsing-tf108987.html
Otis Gospodnetic wrote:
>
> Hm, error tolerant query parser? How do you want to handle queries with
> invalid syntax?
>
> Here is one way:
> try {
> QueryParser qp = new QueryParser(.....);
> Query q = qp.parse(....);
> } catch (Throwable t) {
> // tolerate any exception
> }
>
> ;)
>
> Bad but quite tolerant.
>
> Otis
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> Simpy -- http://www.simpy.com/ - Tag - Search - Share
>
> ----- Original Message ----
> From: Mohsen Saboorian <mo...@gmail.com>
> To: java-user@lucene.apache.org
> Sent: Wednesday, April 4, 2007 2:05:02 AM
> Subject: Error Tolerant Query Parser
>
>
> Sorry for dual posting. I've just inadvertently submit form before writing
> the body :)
>
> Is there any error tolerant query parser ever written for Lucene? What is
> the way websites use for advanced searching with Lucene?
> --
> View this message in context:
> http://www.nabble.com/Error-Tolerant-tf3524057.html#a9831496
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Error-Tolerant-tf3524057.html#a9850636
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org