I am trying to migrate a project to the latest version of PHP (8.3) and Symfony 6.4. There is a class in there that heavily relies on Zendsearch Query parser, but when I came to install it I discovered that its abandoned and no longer maintained. I’ve seen that Laminas is the new iteration of Zendframework but I can’t find the alternative of the Zendsearch/query parser.
For reference, the class I’m trying to port uses the following:
use Zend_Search_Lucene_Analysis_Analyzer;
use Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive;
use Zend_Search_Lucene_Index_Term;
use Zend_Search_Lucene_Search_Query_Boolean;
use Zend_Search_Lucene_Search_Query_MultiTerm;
use Zend_Search_Lucene_Search_Query_Preprocessing_Phrase;
use Zend_Search_Lucene_Search_Query_Preprocessing_Term;
use Zend_Search_Lucene_Search_QueryParser;
What can I use instead? I’ve seen people mention Elasticsearch, which i’m also using in this project, but I’m not sure how to use that to parse a query string?