Esri Geoportal Server
1.2.2

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  org.apache.lucene.document.Field.Index indexingOptionFromString(String option)
          Makes the Field.Index option from a String value.
protected  org.apache.lucene.document.Field.Store storageOptionFromString(String option)
          Makes the Field.Store option from a String value.
protected  org.apache.lucene.document.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 org.apache.lucene.document.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 org.apache.lucene.document.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 org.apache.lucene.document.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.2.2

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