Class BasicLuceneSearchEnginePolicyFilter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REVISION  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filterCategoryDocument​(org.apache.lucene.document.Document doc, Category cat, java.lang.String lang)
      This method is called when the given Category is being index in the given language, just before writing the Document into the index.
      void filterMemberDocument​(org.apache.lucene.document.Document doc, Member mbr)
      This method is called when the given Member is being index, just before writing the Document into the index.
      void filterPublicationDocument​(org.apache.lucene.document.Document doc, Publication pub, java.lang.String lang)
      This method is called when the given Publication is being index in the given language, just before writing the Document into the index.
      org.apache.lucene.analysis.Analyzer getAnalyzer​(java.lang.String lang, boolean isIndexing, org.apache.lucene.analysis.Analyzer analyser)
      Return the Lucene Analyzer to use for a given language.
      java.util.HashSet<java.lang.String> getLanguageStopWordsSet​(java.lang.String lang, java.util.HashSet<java.lang.String> jcms)
      Retrieves stop words of the specified language.
      boolean init​(Plugin plugin)
      Initialize the component with the given plugin configuration
      org.apache.lucene.search.Query parseQuery​(java.lang.String searchString, ParseOptions options, org.apache.lucene.analysis.Analyzer analyzer, org.apache.lucene.search.Query query)
      Parse the specified search string into a Lucene Query.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Comparable

        compareTo