Commits

Thomas Waldmann committed a954861

add SUMMARY to the fields that are searched by default when the field is not specified

  • Participants
  • Parent commits f01c5c8

Comments (0)

Files changed (1)

File MoinMoin/apps/frontend/views.py

     if valid:
         history = bool(request.values.get('history'))
         idx_name = ALL_REVS if history else LATEST_REVS
-        qp = flaskg.storage.query_parser([NAME_EXACT, NAME, CONTENT], idx_name=idx_name)
+        qp = flaskg.storage.query_parser([NAME_EXACT, NAME, SUMMARY, CONTENT], idx_name=idx_name)
         q = qp.parse(query)
         with flaskg.storage.indexer.ix[idx_name].searcher() as searcher:
             flaskg.clock.start('search')