Skip to content
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

Update udf examples #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

alpha0010
Copy link

strtoint - "fix" what appears to be a logic error
asciitolower - add simple string function
square_wc_rank - add simple ranker

By the way, in the code, I see reference to "index token filter" and "query token filter" plugins, but zero documentation on them. From the names, it sounds like I would be able to implement a custom morphology step. Is this supported yet?

strtoint - "fix" what appears to be a logic error
asciitolower - add simple string function
square_wc_rank - add simple ranker
@tomatolog
Copy link
Contributor

you might setup index_token_filter per index and provide query_token_filter as SphinxQL option per query.

index_token_filter has interface PluginTokenFilter_c
and
query_token_filter has interface PluginQueryTokenFilter_c
these are located at sphinxplugin.h

@tomatolog
Copy link
Contributor

Created an issue with missed plugins description that you might track here http://sphinxsearch.com/bugs/view.php?id=2317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants