Commit 06184a37 authored by Thomas Löffler's avatar Thomas Löffler

Merge branch 'fix-sorting-in-solr-results' into 'develop'

Use upload date by default and no sorting when query string exists

See merge request !97
parents d6ac0a20 82f041d0
Pipeline #1383 passed with stages
in 4 minutes and 53 seconds
......@@ -6,10 +6,6 @@ plugin {
path = solr/t3o/
}
#templateFiles {
# search = EXT:ter_layout/Resources/Private/Ext/Solr/Search.html
#}
index {
queue {
ter_extension = 1
......@@ -211,7 +207,14 @@ plugin {
query {
// qf parameter http://wiki.apache.org/solr/DisMaxQParserPlugin#qf_.28Query_Fields.29
queryFields = extensionKey_stringS^60.0, keywords^55.0, title^50.0, content^40.0, author^1.0
sortBy = extensionLastUpload_tDateS desc
}
}
}
}
[globalVar = GP:q =]
[else]
plugin.tx_solr.search.query.sortBy =
[global]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment