Class JunitFreeTextSearchExtension

    • Constructor Detail

      • JunitFreeTextSearchExtension

        public JunitFreeTextSearchExtension()
    • Method Detail

      • getKeyword

        public String getKeyword()
        Description copied from class: FreeTextSearchExtension
        Specifies the keyword that lucene stores the data as. This keyword is the same as the user can use to search for. E.g. with keyword = "foo", the following query "foo:bar" will look for "bar" in the textresult for this extension.

        Care must be taken to make sure this does not collide with any fieldName in Field.

        Specified by:
        getKeyword in class FreeTextSearchExtension
        Returns:
        the keyword, the word must be lower case
      • isPersist

        public boolean isPersist()
        Description copied from class: FreeTextSearchExtension
        If the original data should be stored in the index. This is necessary if the data should be displayed with context around the match in the search result.
        Overrides:
        isPersist in class FreeTextSearchExtension