Sounds interesting
- Compatibility tweak for upcoming add-on related to tagging
Sounds interesting
- Compatibility tweak for upcoming add-on related to tagging
This depends on the weighting mode, as content weighting is fairly complex.(I also assume a value of 1 doesn't affect the weighting)
Here's an interesting feature that doesn't work on any of my forums, but I see it working on yours:
View attachment 269042
"Did you mean" suggestions on search terms. I even see it on the overview, Suggestions/"Did You Mean" Functionality of this resource, but I can't find anywhere to enable this feature.
We're using Elasticsearch 6.7.2
If enabled, this will display a suggested search on page one of a search where there's a more popular term.
- Enable suggestions only for the first page of search results
Thanks, but no luck with that option checked our unchecked.Should be the third option from the top:
At least I can reproduce it with enabling and disabling it.
enable stemming for language
If checked, suggest threads implementation will be replaced by Elastic Search Essentials add-on implementation.
- Replace Enhanced Search 2.2's suggest threads implementation
This feature has 3 toggles controlling this feature:Here's an interesting feature that doesn't work on any of my forums, but I see it working on yours:
View attachment 269042
"Did you mean" suggestions on search terms. I even see it on the overview, Suggestions/"Did You Mean" Functionality of this resource, but I can't find anywhere to enable this feature.
We're using Elasticsearch 6.7.2
curl -XGET http://localhost:9200/_cat/shards
sufficientv_test 0 p STARTED 2069875 1gb 127.0.0.1 bJ8CJKZ
curl -XPUT 'http://localhost:9200/_template/xenforo' -H 'Content-Type: application/json' -d'{
"template": "*",
"settings": {
"number_of_shards": "1",
"number_of_replicas": "0"
}
}'
What version of ElasticSearch?I've updated ESS to the latest version yesterday and suddenly /search/member?user_id=XXX&content=thread doesn't work anymore. I've tried to rebuild the index for threads but it says "no results found" for every member. Do you know how this could be @Xon?
Can you try using the "purge index" button, and then rebuild from scratch?
It should work as expected.Does this add-on, particularly the word correction/suggestion, work find for multibyte languages?
@NixFifty runs https://xf2.nixfifty.com/ which has a copy of this add-on installed.Is there a demo site for this add-on?
Just signup to that site like normal, it has registration open. But you'll likely need to ensure you aren't using a VPN due to the anti-spam setup.@NixFifty Would you please give me a test account in your demo site? Thanks.
TypeError: Argument 1 passed to XF\Search\Search::getResultSet() must be of the type array, null given, called in /home/forum/src/XF/Pub/Controller/Search.php on line 156 src/XF/Search/Search.php:253
Stack trace
#0 src/XF/Pub/Controller/Search.php(156): XF\Search\Search->getResultSet(NULL)
#1 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Search.php(454): XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(352): SV\ElasticSearchEssentials\XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'Results', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(14) "/search/503324"
["referrer"] => bool(false)
["_GET"] => array(1) {
["/search/503324"] => string(0) ""
}
["_POST"] => array(0) {
}
}
ErrorException: [E_NOTICE] Trying to get property 'search_results' of non-object src/XF/Pub/Controller/Search.php:156
Stack trace
#0 src/XF/Pub/Controller/Search.php(156): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/forum/...', 156, Array)
#1 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Search.php(454): XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(352): SV\ElasticSearchEssentials\XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'Results', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(14) "/search/503324"
["referrer"] => bool(false)
["_GET"] => array(1) {
["/search/503324"] => string(0) ""
}
["_POST"] => array(0) {
}
}
ErrorException: [E_NOTICE] Trying to get property 'result_count' of non-object src/XF/Pub/Controller/Search.php:153
Stack trace
#0 src/XF/Pub/Controller/Search.php(153): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/forum/...', 153, Array)
#1 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Search.php(454): XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(352): SV\ElasticSearchEssentials\XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'Results', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(14) "/search/503324"
["referrer"] => bool(false)
["_GET"] => array(1) {
["/search/503324"] => string(0) ""
}
["_POST"] => array(0) {
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.