Class SomeMustNone

  • All Implemented Interfaces:
    java.io.Serializable, Executor.Work

    public class SomeMustNone
    extends FullText
    FullText subclass which parses 3 arrays of strings into into a single Lucene query. If no text is produced, then an exception will be thrown. Some terms are joined in to "( a OR b OR c)", must terms are turned into "+d +e +f", and none terms are turned into "-g -h -i".
    Since:
    3.0-Beta3
    See Also:
    Serialized Form
    • Constructor Detail

      • SomeMustNone

        public SomeMustNone​(SearchValues values,
                            java.lang.String[] some,
                            java.lang.String[] must,
                            java.lang.String[] none,
                            java.lang.Class<? extends org.apache.lucene.analysis.Analyzer> analyzer)
    • Method Detail

      • parse

        protected static java.lang.String parse​(java.lang.String[] some,
                                                java.lang.String[] must,
                                                java.lang.String[] none)