org.LexGrid.LexBIG.Impl.Extensions.Search
Class AbstractExactMatchSearch

java.lang.Object
  extended by org.LexGrid.LexBIG.Impl.Extensions.AbstractExtendable
      extended by org.LexGrid.LexBIG.Impl.Extensions.Search.AbstractSearch
          extended by org.LexGrid.LexBIG.Impl.Extensions.Search.AbstractExactMatchSearch
All Implemented Interfaces:
java.io.Serializable, Extendable, Search
Direct Known Subclasses:
ExactMatchSearch

public abstract class AbstractExactMatchSearch
extends AbstractSearch

The Class AbstractExactMatchSearch.

Author:
Kevin Peterson
See Also:
Serialized Form

Constructor Summary
AbstractExactMatchSearch()
           
 
Method Summary
 org.apache.lucene.search.Query buildQuery(java.lang.String searchText)
          Generate a Lucene Query given a text String.
abstract  java.lang.String getLuceneSearchField()
          Gets the lucene search field.
 
Methods inherited from class org.LexGrid.LexBIG.Impl.Extensions.Search.AbstractSearch
addTrailingWildcard, addTrailingWildcardToAllTokens, getQueryParser, handleWhiteSpaceCharacters, register, tokenizeBySpace
 
Methods inherited from class org.LexGrid.LexBIG.Impl.Extensions.AbstractExtendable
buildExtensionDescription, getDescription, getExtensionDescription, getName, getProvider, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Extendable
getDescription, getName, getProvider, getVersion
 

Constructor Detail

AbstractExactMatchSearch

public AbstractExactMatchSearch()
Method Detail

buildQuery

public org.apache.lucene.search.Query buildQuery(java.lang.String searchText)
Description copied from interface: Search
Generate a Lucene Query given a text String.

Parameters:
searchText - The text to search
Returns:
The Query

getLuceneSearchField

public abstract java.lang.String getLuceneSearchField()
Gets the lucene search field.

Returns:
the lucene search field

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.