Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4922

ConceptDAO filters concepts only if results were found by fullTextQuery

    XMLWordPrintable

Details

    Description

      The getConcepts-method in HibernateConceptDAO uses the LuceneQuery to make a full text search.
      However the skipSame-method in LuceneQuery generates a new instance of fullTextQuery even if there are no search results. In this way all concepts will be returned without filtering them.

      Gliffy Diagrams

        Attachments

          Activity

            People

              domsch Dominik Schwarz
              domsch Dominik Schwarz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: