KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > indexing > SearchInput


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.indexing;
6
7 import org.apache.lucene.analysis.Analyzer;
8 import org.apache.lucene.search.Query;
9
10 /**
11  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
12  * @since Sep 17, 2004
13  * @version $Id: SearchInput.java,v 1.5 2004/10/14 23:27:57 tuan08 Exp $
14  */

15 public interface SearchInput {
16   //public boolean isRequired() ;
17
public boolean hasTerm() ;
18   public Query getQuery(Analyzer analyzer) throws Exception JavaDoc ;
19 }
20
Popular Tags