class_docstr: Matches documents containing a list of sub-queries in adjacent
  positions.
  
  This object has no sanity check to prevent you from using queries in
  different fields.
docstr: :param subqueries: a list of :class:`whoosh.query.Query` objects to
      match in sequence.
  :param slop: the maximum difference in position allowed between the
      subqueries.
  :param ordered: if True, the position differences between subqueries
      must be positive (that is, each subquery in the list must appear
      after the previous subquery in the document).
  :param boost: a boost factor to add to the score of documents matching
      this query.
docstr_tok: [":","param","subqueries",":","a","list","of",":","class",":","`","whoosh.query.Query","`","objects","to","match","in","sequence",".",":","param","slop",":","the","maximum","difference","in","position","allowed","between","the","subqueries",".",":","param","ordered",":","if","True",",","the","position","differences","between","subqueries","must","be","positive","(","that","is",",","each","subquery","in","the","list","must","appear","after","the","previous","subquery","in","the","document",")",".",":","param","boost",":","a","boost","factor","to","add","to","the","score","of","documents","matching","this","query","."]
code: def __init__(self, subqueries, slop=1, ordered=True, boost=1.0):
      """
      :param subqueries: a list of :class:`whoosh.query.Query` objects to
          match in sequence.
      :param slop: the maximum difference in position allowed between the
          subqueries.
      :param ordered: if True, the position differences between subqueries
          must be positive (that is, each subquery in the list must appear
          after the previous subquery in the document).
      :param boost: a boost factor to add to the score of documents matching
          this query.
      """
  
      compound.CompoundQuery.__init__(self, subqueries, boost=boost)
      self.slop = slop
      self.ordered = ordered
  
imports: from __future__ import division
  import copy
  from whoosh import matching
  from whoosh.analysis import Token
  from whoosh.compat import u
  from whoosh.query import qcore, terms, compound
label_desc: Use image node_id 1 to create a new Sequence object from inherited base classes: compound with example: obj = Sequence(subqueries, slop, ordered, boost)