Forum Replies Created
-
AuthorPosts
-
May 11, 2017 at 3:16 pm in reply to: Live search returns some posts with title starting with searched term only #13068
AlessandroF
ParticipantOk, so no wp_2_* tables.
I found that Index Table “Stop Words” configuration is not shared so I misunderstood.Now all is fixed.
Thanks for you help,
AlessandroMay 11, 2017 at 2:09 pm in reply to: Live search returns some posts with title starting with searched term only #13064AlessandroF
ParticipantOk, seeing configuration not in network admin but in site admin I misunderstood.
What configurations are shared?
Instances only?
Index table indexes?
Other configurations?Thanks,
AlessandroMay 11, 2017 at 12:29 pm in reply to: Live search returns some posts with title starting with searched term only #13057AlessandroF
ParticipantI’ve done many tests starting from your suggestions and I think I found the original problem.
I have a multisite installation:
– http://www.foodweb.it (own custom theme, own original content, same plugins, many copied configurations, italian language)
– http://www.italianfood.net (own custom theme, own original content, same plugins, many copied configurations, english language)I created http://www.foodweb.it first then when I created http://www.italianfood.net I exported ASP instance configuration from http://www.foodweb.it and imported it in the new site.
Then I changed ASP instance in http://www.italianfood.net . Very few changes, mainly labels change (translation) and Multisite Options to http://www.italianfood.net .
I experienced some problems with labels translation but I had no time to investigate.Now I found that ASP instances get syncronized/replicated/shared in http://www.foodweb.it and http://www.italianfood.net
Labels settings, Multisite Options, all settings.
New test instance created in http://www.foodweb.it (as you suggested) appear in http://www.italianfood.net too.Resetting Multisite Options to default (no blog dragged to right list) fix live search results for both sites but labels problem is still present.
How can I separate sites?
As a quick fix I’ve duplicated current instance (export+import) and use one for http://www.foodweb.it and another for http://www.italianfood.net
Now I’m configuring the new instance for http://www.italianfood.net needs and fixing all ASP instance references (theme css, ecc.).
There’s a better way?Thanks,
AlessandroMay 10, 2017 at 1:00 pm in reply to: Live search returns some posts with title starting with searched term only #13040AlessandroF
ParticipantI turned them off, saved, cleared server and browser cache.
Something changed but not fixed yet:
– “caprotti” live search now returns 6 post with title starting width “caprotti” (correct results are much more and live search limit is set to 10)
– “tavola” (and many others) live search still returns no resultMaybe there’s a post_title LIKE ‘<search_term>%’ sql condition somewhere.
I tried switching to regular engine but I get results from the other blog switch is in different language (english vs italian).
I’ve quickly reverted to indexed table.I tried to investigate plugin code mostly includes/classes/search/class-asp-search-indextable.php from line 390 forward (423 picked my interest first), but couldn’t find a clue.
May 9, 2017 at 5:41 pm in reply to: Live search returns some posts with title starting with searched term only #13031AlessandroF
ParticipantYou cannot access this content.
-
AuthorPosts