Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

add TODO about all docs constant

Erik Hatcher29935fe9a7f9
diff --git a/client/ruby/solrb/lib/solr/request/select.rb b/client/ruby/solrb/lib/solr/request/select.rb
index 120c129a8f5..ab70349960c 100644
--- a/client/ruby/solrb/lib/solr/request/select.rb
+++ b/client/ruby/solrb/lib/solr/request/select.rb
@@ -16,6 +16,10 @@ module Solr
module Request
# "Abstract" base class, only useful with subclasses that add parameters
class Select < Solr::Request::Base
+
+ # TODO add a constant for the all-docs query, which currently is [* TO *]
+ # (caveat, that is all docs that have a value in the default field)
+ # When the Lucene JAR is upgraded in Solr, the all-docs query becomes simply *
attr_reader :query_type
def initialize(qt=nil)