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:
Erik Hatcher 2007-02-22 02:17:13 +00:00
parent 2ca3943e78
commit 57d6f91ad6
1 changed files with 1 additions and 1 deletions

View File

@ -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