Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Long words
- This topic has 9 replies, 2 voices, and was last updated 9 years, 1 month ago by
fillip2907.
-
AuthorPosts
-
September 19, 2016 at 8:48 am #10162
fillip2907
ParticipantHi there
Search is not searching for the words greater than 10-11 letters. Examples is the word “reconciliation”.
It searches till reconciliat but for the complete word, it gives no result. Same happens for a few other long words too.September 19, 2016 at 11:56 am #10166Ernest Marcinko
KeymasterHi,
I cannot seem to be able to re-create this issue on any of my test/live environments. Can you please provide more details (url, back-end and FTP access) so I can investigate it further?
September 19, 2016 at 1:39 pm #10172fillip2907
ParticipantSeems i could not explain myself well. Sorry for that.
So, iam using user search based on the user bio content. Now if any keyword is more than 11 letters (or characters), the search fails to search those users.
So if i am searching for ROME, it will do. But if i search for MASSACHUSSETTS, it will give no result as this keyword has more than 11 letters (or characters).
Is there any hook that can let me to increase maximum allowed character for a keyword?
September 19, 2016 at 2:55 pm #10173Ernest Marcinko
KeymasterHi,
The problem is that there is no limit for the maximum number for a keyword.
I’ve just tested by creating a user with this in his bio:
asodiaosdjdjdjdjdjoasijd asidjoaisjofkbnjh21brjh12br1jh2br asdpoasdasdiiiiasdi ajsdjalskjdlaskjdlajsdkasjdd
Searching any of these words as a whole is returning a user correctly as expected.
—
If you are searching posts based on user Bio using the index table engine, than make sure to turn off the “Show exact matches” only option, as in that case the Regular engine is used: http://i.imgur.com/NWhIhc3.png
The regular engine cannot search the user bio unfortunately.September 19, 2016 at 2:58 pm #10174fillip2907
ParticipantYou cannot access this content.
September 19, 2016 at 3:11 pm #10175Ernest Marcinko
KeymasterThat’s it! There is indeed an error there with the exact matching exception replacement code!
I’m surprised nobody noticed it yet. More interestingly it works in most cases, but not always.
I’m going to fix this as well for the upcoming release. Thank you very much for notifying me! Until the next release, please don’t use that field, just to be sure it won’t cause any problems.
September 20, 2016 at 6:28 am #10182fillip2907
ParticipantSure sir.
I have one more question. Is it possible to change rank of users for any keyword? Like if i want user a, user c & user e to be on the top of the list rather seeing the ranking like user a, user b, user c, and so on.
I am working on a job website. So i want specific people (with good resume skills) to rank above others. In short, is it possible to change ranking?
September 20, 2016 at 8:00 am #10184Ernest Marcinko
KeymasterHi,
Unfortunately that is not possible with users. Ranking is only available for posts and post type objects.
September 20, 2016 at 8:17 am #10189fillip2907
ParticipantOk. One more important thing. I am using isotropic search layout. It works fine but on phone, per box result seems too big. Is it possible to take care of the mobile display specifically? Like showing only one result box at once on phones only? Desktop version is perfect
May 3, 2017 at 6:21 am #12959fillip2907
ParticipantHi Ernest
How to trigger the same search? Presently, if I press enter the second time (keeping the same keyword), it does not re-trigger the search. You need to refresh the page to re-trigger the search. How should it be done?
-
AuthorPosts
- The topic ‘Long words’ is closed to new replies.