Esri Geoportal Server
1.2.0

com.esri.gpt.catalog.arcgis.agportal.publication
Class ItemInfoLuceneAdapter

java.lang.Object
  extended by com.esri.gpt.catalog.arcgis.agportal.publication.ItemInfoLuceneAdapter

public class ItemInfoLuceneAdapter
extends Object

Builds ESRI_ItemInformation by querying Lucene index. NOTE! This is EXPERIMENTAL feature. It might be removed at any time in the future.


Constructor Summary
ItemInfoLuceneAdapter()
          Default constructor
 
Method Summary
 void close()
          Closes any open resources.
 ESRI_ItemInformation makeItemInfoByUuid(RequestContext context, String[] fields, String uuid)
          Returns the field values associated with a document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemInfoLuceneAdapter

public ItemInfoLuceneAdapter()
Default constructor

Method Detail

close

public void close()
Closes any open resources.


makeItemInfoByUuid

public ESRI_ItemInformation makeItemInfoByUuid(RequestContext context,
                                               String[] fields,
                                               String uuid)
                                        throws CorruptIndexException,
                                               IOException
Returns the field values associated with a document

Parameters:
context - the operation context
fields - array of fields to fetch
uuid - the document uuid
Returns:
the field values (null if not found)
Throws:
CorruptIndexException - if the index is corrupt
IOException - if an I/O exception occurs

Esri Geoportal Server
1.2.0

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