https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38749

--- Comment #5 from David Cook <[email protected]> ---
(In reply to David Cook from comment #4)
> curl -u <username:password> -X POST "<ES server>" -H 'Content-Type:
> application/json' -d '{"query": {"query_string": {"query":
> "handb*","analyze_wildcard": true}}}'

Sorry that's the non-phrase which does work and gets 4 results.

This is the phrase query which gets 0 results:

-d '{"query": {"query_string": {"query": "\"handb*\"","analyze_wildcard":
true}}}'

This phrase query will get 3 results though:
-d '{"query": {"query_string": {"query": "\"handbook\"","analyze_wildcard":
true}}}'

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to