Hi Hannes,
thanks for replay. But i dont get it to work.
I made some chages. In my database i have the value"Scherzartikel für
Feste" and when i search for "Feste" it would be found. But if i try "Feste
Scherz" then i would not be found. How to solve this? Is there a way?
Thanks Stefan
Am Sonntag, 11. Januar 2015 16:42:57 UTC+1 schrieb Stefan Kruse:
Hi, i need a fuzzy or "like" search for the elasticsearch php client.
I have a field called name, and there are values like testone, testtwo,
testthree.
Now i need a search for a searchstring like test. There should come all
values.How do i make this?
I try:
$params = array();
$params['index'] = 'myIndex';
$params['type'] = 'myType';
$params['body']['query']['match or fuzzy']['name'] = 'test';$ret = $client->search($params);
Does anybody has an idea or hint for me?
Thanks
Stefan
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/80ade4ea-2bfd-4c3d-97fe-f711fb7ba200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.