                 description]}
         vix-doc]
 
-    (doto #^Document (Document.)
+    (doto ^Document (Document.)
           ;; create a fulltext field with all the values to search on
           ;; mashed together in a single value. This field is not stored.
           (.add (create-field "fulltext"

                     (create-document document)
                     (create-analyzer))))

(defn #^NumericRangeQuery create-date-range-query
  [field-name start-date-rfc3339 end-date-rfc3339]
  "Creates a NumericRangeQuery for field-name using start and end date
   string arguments."

    (when (pos? (alength (.getClauses bq)))
      (QueryWrapperFilter. bq))))

(defn ^Document get-doc [reader doc-id]
  "Reads the document with the provided doc-id from the index."
  (.document reader doc-id))

