Hello everybody,
I learned from another post, that it might be advisable to switch of phonetic search entirely, because since the search order is Binary->Phonetic->Fuzzy it happens that xLocate finds bad matching in phonetic search whereas fuzzy search would find a better one.
Examples
Searching for: houseNumber="3" street="ROTHSCHILDALLEE" postCode="60589" city="FFM" country="D"
yields: houseNumber="" street="" city2="Wehm" city="Werlte" postCode="49757" country="D"
Searching for: houseNumber="16" street="HAUPTSTRASSE" postCode="70639" city="GERLINGER" country="D"
yields: houseNumber="" street="" city2="Krelinger Bruch" city="Walsrode" postCode="29693" country="D"
But does it really have to be all or nothing?
Isn't it possible just to change the search order to Binary->Fuzzy->Phonetic?
Is anybody aware, wether there is already an option for this?
Regards
Metin
Is it possible to change search order (B->P->F) to (B->F->P)
-
- Posts: 11
- Joined: Tue May 13, 2014 12:32 pm
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Is it possible to change search order (B->P->F) to (B->F
Hello Metin,
two thoughts
Best regards,
Bernd
two thoughts
- If you want to change the sorting order how about calling the function several times (without depending on server interface)?
- Probably there might be some cases where FUZZY returns better values but I doubt in the statement "switching the order is better from a generic perspective": quitse sure you'd find some other example afterwards recommending PHONETIC should be processed before FUZZY.
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Re: Is it possible to change search order (B->P->F) to (B->F
No, it isn't possible to change the order of phonetic and fuzzy search. It's only possible to switch off the phonetic or fuzzy search.
If you switch off the phonetic search there are request where you are getting a better result but maybe you will also find some requests which are getting worse. If you have a good testset you will see if this configuration works for you or not.
If you switch off the phonetic search there are request where you are getting a better result but maybe you will also find some requests which are getting worse. If you have a good testset you will see if this configuration works for you or not.
Jochen Anderer
Manager Engineer
PTV GROUP GERMANY
Manager Engineer
PTV GROUP GERMANY