mirror of https://github.com/apache/lucene.git
Switch all-docs query to new *:* syntax
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510345 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2ca3943e78
commit
57d6f91ad6
|
@ -12,7 +12,7 @@ private
|
|||
def query
|
||||
queries = session[:queries]
|
||||
if queries.nil? || queries.empty?
|
||||
query = "[* TO *]"
|
||||
query = "*:*"
|
||||
else
|
||||
query = session[:queries].collect{|q| "#{q[:negative] ? '-' : ''}(#{q[:query]})"}.join(' AND ')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue