Class LuceneQueryUtilsTest


  • public class LuceneQueryUtilsTest
    extends Object
    • Constructor Detail

      • LuceneQueryUtilsTest

        public LuceneQueryUtilsTest()
    • Method Detail

      • testExtractTerms

        public void testExtractTerms()
                              throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testExtractDnf

        public void testExtractDnf()
                            throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testExtractDnfWithQuotedSpaces

        public void testExtractDnfWithQuotedSpaces()
                                            throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testExtractDnfWithNestedOrInClause

        public void testExtractDnfWithNestedOrInClause()
                                                throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testExtractDnfWithNestedAndInSubClause

        public void testExtractDnfWithNestedAndInSubClause()
                                                    throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testExtractDnfWithUris

        public void testExtractDnfWithUris()
                                    throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testExtractDnfWithOntologyTerms

        public void testExtractDnfWithOntologyTerms()
                                             throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testPrepareDatabaseQuery

        public void testPrepareDatabaseQuery()
                                      throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testPrepareDatabaseQueryWithUri

        public void testPrepareDatabaseQueryWithUri()
                                             throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testPrepareDatabaseQueryForInexactMatch

        public void testPrepareDatabaseQueryForInexactMatch()
                                                     throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testIsWildcard

        public void testIsWildcard()
      • testPrepareTermUriQuery

        public void testPrepareTermUriQuery()
                                     throws ubic.gemma.core.search.SearchException
        Throws:
        ubic.gemma.core.search.SearchException
      • testQuote

        public void testQuote()
      • testQueryWithHyphen

        public void testQueryWithHyphen()
                                 throws ubic.gemma.core.search.SearchException
        Make sure that a query containing a hyphen is not parsed as a negative query.
        Throws:
        ubic.gemma.core.search.SearchException