Doesn't work unless you have ElasticSearch, in case you're asking about the same thing I asked about just a couple hours ago.
Doesn't work unless you have ElasticSearch, in case you're asking about the same thing I asked about just a couple hours ago.
Server error log
ErrorException: {"sort":[{"date":"desc"}],"docvalue_fields":["discussion_id","user","date"],"_source":false,"size":"250","query":{"bool":{"filter":[{"term":{"user":1065}},{"terms":{"type":["post","thread"]}},{"term":{"thread":12894}}],"must_not":[{"exists":{"field":"hidden"}},{"terms":{"node":[49,225]}}]}}} src/XF/Error.php:75
Generated by: Unknown account Mar 29, 2019 at 3:57 PM
Stack trace
#0 src/XF.php(187): XF\Error->logError('{"sort":[{"date...', false)
#1 src/addons/SV/SearchImprovements/XFES/Elasticsearch/Api.php(19): XF::logError('{"sort":[{"date...')
#2 src/addons/XFES/Search/Source/Elasticsearch.php(153): SV\SearchImprovements\XFES\Elasticsearch\Api->search(Array)
#3 src/XF/Search/Search.php(164): XFES\Search\Source\Elasticsearch->search(Object(SV\SearchImprovements\XF\Search\Query\Query), '250')
#4 src/XF/Repository/Search.php(34): XF\Search\Search->search(Object(SV\SearchImprovements\XF\Search\Query\Query))
#5 src/XF/Pub/Controller/Search.php(395): XF\Repository\Search->runSearch(Object(SV\SearchImprovements\XF\Search\Query\Query), Array, true)
#6 src/XF/Pub/Controller/Search.php(111): XF\Pub\Controller\Search->runSearch(Object(SV\SearchImprovements\XF\Search\Query\Query), Array)
#7 src/addons/SV/SearchImprovements/XF/Pub/Controller/Search.php(55): XF\Pub\Controller\Search->actionSearch()
#8 src/XF/Mvc/Dispatcher.php(321): SV\SearchImprovements\XF\Pub\Controller\Search->actionSearch(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Search', 'Search', Object(XF\Mvc\RouteMatch), Object(SV\SearchImprovements\XF\Pub\Controller\Search), NULL)
#10 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SearchImprovements\XF\Pub\Controller\Search), NULL)
#11 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#13 src/XF.php(390): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
Request state
array(4) {
["url"] => string(86) "/search/search?c%5Bthread%5D=12894&c%5Busers%5D=crampicide&order=date&search_type=post"
["referrer"] => bool(false)
["_GET"] => array(4) {
["/search/search"] => string(0) ""
["c"] => array(2) {
["thread"] => string(5) "12894"
["users"] => string(10) "crampicide"
}
["order"] => string(4) "date"
["search_type"] => string(4) "post"
}
["_POST"] => array(0) {
}
}
Whoops, Fixed for the next version.
Fixed for the next versioni also noticed that leaving the keyword blank doesn't work, but using * does, despite having 'allow empty search' checked.
Make sure "Log Search DSL" option is disabled.I also seem to be getting a lot of errors related to this addon:
Code:Server error log ErrorException: {"sort":[{"date":"desc"}],"docvalue_fields":["discussion_id","user","date"],"_source":false,"size":"250","query":{"bool":{"filter":[{"term":{"user":1065}},{"terms":{"type":["post","thread"]}},{"term":{"thread":12894}}],"must_not":[{"exists":{"field":"hidden"}},{"terms":{"node":[49,225]}}]}}} src/XF/Error.php:75 Generated by: Unknown account Mar 29, 2019 at 3:57 PM Stack trace #0 src/XF.php(187): XF\Error->logError('{"sort":[{"date...', false) #1 src/addons/SV/SearchImprovements/XFES/Elasticsearch/Api.php(19): XF::logError('{"sort":[{"date...') #2 src/addons/XFES/Search/Source/Elasticsearch.php(153): SV\SearchImprovements\XFES\Elasticsearch\Api->search(Array) #3 src/XF/Search/Search.php(164): XFES\Search\Source\Elasticsearch->search(Object(SV\SearchImprovements\XF\Search\Query\Query), '250') #4 src/XF/Repository/Search.php(34): XF\Search\Search->search(Object(SV\SearchImprovements\XF\Search\Query\Query)) #5 src/XF/Pub/Controller/Search.php(395): XF\Repository\Search->runSearch(Object(SV\SearchImprovements\XF\Search\Query\Query), Array, true) #6 src/XF/Pub/Controller/Search.php(111): XF\Pub\Controller\Search->runSearch(Object(SV\SearchImprovements\XF\Search\Query\Query), Array) #7 src/addons/SV/SearchImprovements/XF/Pub/Controller/Search.php(55): XF\Pub\Controller\Search->actionSearch() #8 src/XF/Mvc/Dispatcher.php(321): SV\SearchImprovements\XF\Pub\Controller\Search->actionSearch(Object(XF\Mvc\ParameterBag)) #9 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Search', 'Search', Object(XF\Mvc\RouteMatch), Object(SV\SearchImprovements\XF\Pub\Controller\Search), NULL) #10 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SearchImprovements\XF\Pub\Controller\Search), NULL) #11 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #12 src/XF/App.php(2177): XF\Mvc\Dispatcher->run() #13 src/XF.php(390): XF\App->run() #14 index.php(20): XF::runApp('XF\\Pub\\App') #15 {main} Request state array(4) { ["url"] => string(86) "/search/search?c%5Bthread%5D=12894&c%5Busers%5D=crampicide&order=date&search_type=post" ["referrer"] => bool(false) ["_GET"] => array(4) { ["/search/search"] => string(0) "" ["c"] => array(2) { ["thread"] => string(5) "12894" ["users"] => string(10) "crampicide" } ["order"] => string(4) "date" ["search_type"] => string(4) "post" } ["_POST"] => array(0) { } }
- Fix content weighting values being clamped to 0 or 1
- Fix "Allow empty search" to work as expected without ElasticSearch Essentials installed
Please re-download Content Title Edit History; https://xenforo.com/community/threads/content-title-edit-history.142785/post-1338917 (you'll just need to update files)Even after upload files (re-downloaded addon), rebuild addon, re-run check file health check, I still got warning
View attachment 199292
- Fix that
*
was injected for member-like searches
XFES doesn't use MySQL, it talks to ElasticSearch.
XenForo's MySQL search sends queries to the master unless you have something else doing query routing.
- A content type weighting of zero now correctly excludes that content type from results
We use essential cookies to make this site work, and optional cookies to enhance your experience.