A SpanTermQuery is the Spans version of TermQuery, the only difference being that it returns the start and end offset of all of its matches for use by enclosing SpanQueries.
Create a new SpanTermQuery which matches all documents with the term term in the field field.
static VALUE frb_spantq_init(VALUE self, VALUE rfield, VALUE rterm) { Query *q = spantq_new(frb_field(rfield), StringValuePtr(rterm)); Frt_Wrap_Struct(self, NULL, &frb_q_free, q); object_add(q, self); return self; }
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.