need help solving fatal error exception in Elastic search

need help solving fatal error exception in Elastic search

i am new to elasticSearch please help me out. i have written the following test code in php
< ?php require '../../vendor/autoload.php'; $params = array(); $params['hosts'] = array ( 'https://localhost', // SSL to localhost ); $params['connectionParams']['auth'] = array( 'root', '', 'Basic' ); $params1 = array( 'index' => ‘test_missing’,
‘type’ =‘test’,
‘id’ =1,
‘ignore’ … Read more

Elasticsearch array scoring

Elasticsearch array scoring

I’m using elasticsearch to search multiple array fields in my type, which looks something like
t1 = { field1: [“foo”, “bar”],
field2: [“foo”, “foo”, “foo”, “foo”]
field3: [“foo”, “foo”, “foo”, “foo”, “foo”, … Read more