Hi,
I’m new to manticoresearch. I first tried the mysql interface and want to write my query now in python using the json query syntax. I have some questions which are not answered by the documentation.
I have the following query in mysql syntax:
select snippet(words, query()) as suggestion from de_dict where MATCH(’"^aber noch keine Antwort"|"^noch keine Antwort"|"^keine Antwort"|"^Antwort"’) option ranker=expr(‘1000*doc_word_count+count’);
- Question:
How can I add multiple match_phrases, each starting at the beginning of the same field to one json query? - Question:
How can I set the ranker in json syntax? - Question:
I need to know, which of my phrase matches matched in each result, in mysql syntax, i could use “snippet(words, query())”, what is the equivalent in json syntax?
Thank you for your help!
Alex