Michael
Michael
I think you need to add ngrams to search in parts of words. You need something like this in the `toSearchableArray()` method: ```php $array['ngrams'] = utf8_encode((new TNTIndexer)->buildTrigrams($this->email)); ``` I read...
I support the idea to add better descriptions and foremost examples for the three parameters and what the results are when changing them. I'm still not sure how to get...
Well, the issue is that `$this` itself has nothing applied to it. `scout:import` gets an entry from the database on `$this` for each run through toSearchableArray but `tntsearch:import` does not.
Well, issue #128 is closed but the last comment says it needs more work. I have the same problem, that pagination is not correct, because we apply a where clause...
Thank you for that important information, but what would you do, to limit the search results to a specific id. For example multiple companies are searched through, but I only...
But I can't use the paginate function then, can't I? I get the search results with `$searchResult = Documents::search($request->searchTerm);` Now what I tried was to do `$searchResult = $searchResult->where('company_id', $request->company);`...
Ok, what helped here, was to do the following. Instead of this: `$searchResult = Documents::search($request->searchTerm);` I got the recommendation to do this: `$keys = Documents::search($request->searchTerm)->get()->pluck('id');` `$searchResult = $searchResult->whereIn('id', $keys);` With...
When I don't use search, I can't profit from the fuzzy search. **Edit:** Just got a message because of my error here. I'm not searching for the id, but for...
Hi, just hit the same problem. The pagination is definitely having problems with where clauses. The problem is also mentioned in #100
I have the same problem that the query to the store is sorting the data by something. We implement filtering and sorting on the api due to pagination and I...