GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
I use the lucene search module of the Zend Framework on a website for quite a while and i'm happy with that. Thank you for the php version by the way :)
Recently I decided to try out the refactored version of ZF2/ZendSearch to see if there was a feature I needed in the old ZF1 version, support for alternate terms (stems in my case) in exact phrase queries. The documentation (http://framework.zend.com/manual/1.12/en/zend.search.lucene.query-api.html#zend.search.lucene.queries.phrase-query) mentions synonyms at the same place but actually it is not implemented (at least in the latest RC).
So I added the feature and since it's useful for me, I thought it may be useful for others. Before putting it online, I tested the changes with my real site index (about 550 web pages) for both result accuracy and performances, didn't find any regression.
There are also a few other unrelated changes :
That's all. I hope you'll find something interesting to merge back in your branch. And if you need further information about my changes, feel free to ask.
fixed unit tests (directory cleanup issue)
added ShortWordsUtf8, utf-8 compliant version of the ShortWords token…
added support for alternate terms in exact phrase queries (API)
- sloppy mode is not supported
added unit tests for exact phrase queries with and without alternate …
(also a bit of code factorization)
fixed errors in SegmentInfo when used with a doc filter
> termFreqs() regression introduced between ZF 1.11.12 and ZF2/ZendSearch initial commit
Fixed MultiSearcher numDocs() method
Fixed MultiSearcher count() method
Merge remote-tracking branch 'contrib_moust/master'
Is this project dead / obsolete?
The docs are not findable on framework.zend.com through the menu structure (though if you google hard you can find them as separate pages).
Will this (and any other) pull request be merged and released soon?
@pavarnos zendframework/ZendSearch is unmaintained since the 2.0.0 release of zendframework. We endorse moving to more efficient indexing solutions like SOLR or ElasticSearch.