Issues

ZF-2099: User friendly query parsing

Issue Type: Improvement Created: 2007-10-25T02:19:58.000+0000 Last Updated: 2008-12-19T11:10:11.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Alexander Veremyev (alexander) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene

Related issues: Attachments:

Description

Zend_Search_Lucene query parser throws an exception if query doesn't conform to query language.

It's necessary to have an option to parse any user input without exceptions.

Comments

Posted by Wil Sinclair (wil) on 2007-11-08T23:37:21.000+0000

What would be the proposed behavior if this option were selected?

Posted by Alexander Veremyev (alexander) on 2008-01-30T18:52:37.000+0000

Query parsing exceptions are suppressed by default now. If query doesn't conform query language, then it's tokenized using current default analyzer and all tokenized terms are used for searching.

This behavior may be turned off by the following code:

<pre class="highlight">
Zend_Search_Lucene_Search_QueryParser::dontSuppressQueryParsingExceptions();

Posted by Wil Sinclair (wil) on 2008-12-19T11:10:11.000+0000

Bookkeeping. Assigning all issues to the person that ultimately closed them.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts