so if you do not LOG thoses queries - it'll solve your problem, right?
you won't have to delete queries in admin, right?
Empty Search Log
Re: Empty Search Log
Don't forget to run script update
Re: Empty Search Log
Yes, thats why I said I rather manually add queries which make some sense in admin area that should show on site instead of users queries showing on site.
Re: Empty Search Log
then $_GET['skip_search_log'] = true; should help)
Don't forget to run script update
Re: Empty Search Log
Hi, Thanks. Would it be possible for you to add feature to approve or disapprove search queries in admin area?
Re: Empty Search Log
It's it the same as going though deletion?
I mean time consuming
I mean time consuming
Don't forget to run script update
Re: Empty Search Log
Thanks, got it. In Sphinx I am trying to use arabic language, I added charset_table with the correct values from the documentation in the index and then stop/start sphinx. I added utf 8 also in meta header. But when on site trying to output the arabic text on search template in title and on page it shows blank. English text shows fine. Any idea what could be wrong?
Re: Empty Search Log
Yes, Text encoding is UTF-8
Re: Empty Search Log
it's hard to guess, send me a link where I can see the issue
Don't forget to run script update
Re: Empty Search Log
Hi,
I found what the issue is. Its the nginx rewrite for the search that is not accepting utf-8 characters for the language.
For example:
https://domainname.com/search/queryinarabic/
Does not output the search query in title and on page
But if I do a search without rewrite
https://domainname.com/?search=queryinarabic
Gives proper output of search query in title and on page
My rewrite in nginx is:
rewrite "^/search/(.*)$" "/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&search=$1&$args";
I even tried this:
rewrite "(*UTF8)^/search/(.*)$" "/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&search=$1&$args";
The problem is not with Sphinx or text enconding as I can output the words using search_log on templates. For English the rewrite works fine but any other language gives blank results for text. Any idea whats wrong with the rewrite?
I found what the issue is. Its the nginx rewrite for the search that is not accepting utf-8 characters for the language.
For example:
https://domainname.com/search/queryinarabic/
Does not output the search query in title and on page
But if I do a search without rewrite
https://domainname.com/?search=queryinarabic
Gives proper output of search query in title and on page
My rewrite in nginx is:
rewrite "^/search/(.*)$" "/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&search=$1&$args";
I even tried this:
rewrite "(*UTF8)^/search/(.*)$" "/out.php?url=content&p=100&dont_count_in_trade=true&skip_sell=true&search=$1&$args";
The problem is not with Sphinx or text enconding as I can output the words using search_log on templates. For English the rewrite works fine but any other language gives blank results for text. Any idea whats wrong with the rewrite?