-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I add the
use \Iverberk\Larasearch\Traits\SearchableTrait;on my Product model.
Then I do a
$product= new Product(['title'=>'Amazing']);
$product->save();Then I try to search via :
curl -XGET 'http://127.0.0.1:9200/products_20150722092624/_search?pretty=1&q=Amazing'
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}Why the index wasn't updated after save() to make 'Amazing' searchable ? Do I forgot to do something ?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels