I’m running from the trunk, and hitting road blocks no matter which way
to search across multiple indexes.
I tried a MultiSearcher, but I can’t pass a string for the search query
TypeError: wrong argument type String (expected Data)
So I tried creating a QueryParser to pass, but I can’t get the fields
NoMethodError: undefined method `get_field_names’ for
and even if I could, I cant pass any fields to the QueryParser
qp.fields = [“title”]
NoMethodError: undefined method `fields=’ for
So I tried using the MultiReader, like acts_as_ferret does, but it won’t
take any arguments
@reader = Index::MultiReader.new(sub_readers)
ArgumentError: wrong number of arguments (1 for 0)
Is everything I’m trying to do unimplemented in the c version, or am I
overlooking something obvious?