UnexpectedValueException in AbstractEndpoint.php line 247:
"type" is not a valid parameter. Allowed parameters are: "analyzer", "analyze_wildcard", "default_operator", "df", "explain", "fields", "fielddata_fields", "filter_path", "from", "ignore_unavailable", "allow_no_indices", "expand_wildcards", "indices_boost", "lenient", "lowercase_expanded_terms", "preference", "q", "query_cache", "request_cache", "routing", "scroll", "search_type", "size", "sort", "source", "_source", "_source_exclude", "_source_include", "terminate_after", "stats", "suggest_field", "suggest_mode", "suggest_size", "suggest_text", "timeout", "track_scores", "version", "request_cache", "client", "custom", "filter_path"
Using CURL I see that my server has entries, which are automatically placed via Plastic, but I cant read/search them using this simple example:
$search = $request->input('search');
$results = Plastic::search()->match('title',$search)->get();
public function getType()
{
return $this->type;
}
public function getType()
{
return 'searchindex'; // my type
}
works well, but thats not nice.