1. Matt Chaput
  2. whoosh

Commits

Thomas Waldmann  committed dc8eb9f

fix markup errors in searching docs

  • Participants
  • Parent commits fb14e84
  • Branches default

Comments (0)

Files changed (1)

File docs/source/searching.rst

View file
  • Ignore whitespace
 results of running the filter query
 
 You can also specify a ``mask`` keyword argument to specify a set of documents
-that are not permitted in the results.
+that are not permitted in the results::
 
-::
     with myindex.searcher() as s:
         qp = qparser.QueryParser("content", myindex.schema)
         user_q = qp.parse(query_string)
 but otherwise only the top N documents with the same collapse key will appear
 in the results.
 
-See :doc:`/facets` for information on facets.
+See :doc:`/facets` for information on facets::
 
-::
     with myindex.searcher() as s:
         # Set the facet to collapse on and the maximum number of documents per
         # facet value (default is 1)