Page 1 of 1

How search work?

Posted: Thu Dec 14, 2017 7:22 pm
by awasu.user
Intro
I use in script search function by API call:

Code: Select all

http://localhost:2604/search/query
Strange thing is when I put in Awasu GUI searching term are more accurate than in my script.

Questions:
1. How then search matching things?
2. Where could be any difference between searching via GUI and via API call?
3. Is a sorting thing by minScore issue?
minScore (ms) Minimum score for search results (0-100).
- from docs.

Re: How search work?

Posted: Thu Dec 14, 2017 7:49 pm
by support
awasu.user wrote:1. How then search matching things?
2. Where could be any difference between searching via GUI and via API call?
Awasu uses the API to run searches, so the results should be identical. It's probably setting some search parameters that you're not, and this is affecting the results. The easiest way to figure out what's going on is to run a search inside Awasu, right-click on the results page, choose Properties and look at the URL.
awasu.user wrote: 3. Is a sorting thing by minScore issue?
minScore (ms) Minimum score for search results (0-100).
- from docs.
This doesn't affect sorting per se, it removes results that have too low a score.