-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Methods needed for moving from sphinxsearch to Manticore PHP API #60
Comments
I don't think you can avoid iteration completely, but you can use |
Thanks for answer. But I have some additions You offer facets for php api instead groupby, but it's not similar, right? How facets works? I don't see it in documentation, try to explain.
As I understand, custom weights I can use only via sql, not php api. Do you have a plan for this feature? #42 was opened more than year ago, have you this feature in php api roadmap or not? No, I mean just simple method for ResultSet like $result->getHitIds(); returned just array with doc_id or (as in your code) hit id |
Yes, it will, see argument 3 here https://github.com/manticoresoftware/manticoresearch-php/blob/master/docs/searchclass.md#facet
Please take this course https://play.manticoresearch.com/faceting to understand how FACET works in Manticore
Yes, that's correct, FACET returns just field value / count
Correct.
It's not in our nearest plans. PRs are welcome!
We do professional services http://manticoresearch.com/services. If it's mission critical for you - contact us.
Got it, also not in our nearest plans. PR for this would be also appreciated. |
Hello!
I'm moving from sphinxsearch and can't find several features at php api for manticore. Try to make samples with sphinx 2.0 php code.
And it's not critical but - can I get primary ids from resultset as array, without array iteration? If can, how called this method?
The text was updated successfully, but these errors were encountered: