Esri Geoportal Server
1.0

com.esri.gpt.catalog.lucene
Class Utilities

java.lang.Object
  extended by com.esri.gpt.catalog.lucene.Utilities

public class Utilities
extends Object

Provides some generic supporting utilities.


Constructor Summary
Utilities()
           
 
Method Summary
protected  Field.Index indexingOptionFromString(String option)
          Makes the Field.Index option from a String value.
protected  Field.Store storageOptionFromString(String option)
          Makes the Field.Store option from a String value.
protected  Field.TermVector termVectorOptionFromString(String option)
          Makes the Field.TermVector option from a String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

indexingOptionFromString

protected Field.Index indexingOptionFromString(String option)
Makes the Field.Index option from a String value.
TOKENIZED, UN_TOKENIZED, NO, NO_NORMS

Parameters:
option - the Field.Index option

storageOptionFromString

protected Field.Store storageOptionFromString(String option)
Makes the Field.Store option from a String value.
YES, NO, COMPRESS

Parameters:
option - the Field.Store option

termVectorOptionFromString

protected Field.TermVector termVectorOptionFromString(String option)
Makes the Field.TermVector option from a String value.
NO, YES, WITH_OFFSETS, WITH_POSITIONS

Parameters:
option - the Field.TermVector option

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.