1 16 17 package org.apache.cocoon.bean.query; 18 19 import org.apache.lucene.analysis.Analyzer; 20 import org.apache.lucene.search.Query; 21 22 23 24 33 public interface SimpleLuceneCriterion { 34 35 42 public static final String ANY_FIELD = "any"; 43 44 51 public static final String ANY_MATCH = "any"; 52 53 60 public static final String ALL_MATCH = "all"; 61 62 69 public static final String LIKE_MATCH = "like"; 70 71 78 public static final String NOT_MATCH = "not"; 79 80 87 public static final String PHRASE_MATCH = "phrase"; 88 89 97 public Query getQuery (Analyzer analyzer); 98 99 102 public boolean isProhibited (); 103 104 } 105 | Popular Tags |