Retrieving Index Library Properties

You can retrieve information about a specific Magnify index library using the following API commands in the request URL:

http://host:[port]/context_root/saxfeed?datasource=iindex_name&dirdetails=1

where:

host:[port]

Is the name of the server and its port number where Magnify is installed.

context_root

Is the WebFOCUS web application alias.

datasource=index_name

Specifies the name of the Lucene index library.

dirdetails=1

Enables retrieving the size of the specified index.

The following syntax illustrates the status and size of the centurystores index specified:

<dirdetails returncode="success"
  datetime="Fri, 22 Oct 2010 14:03:42 -0400"
  datasource="centurystores" dirname="" size="25952676"
  sizeformatted="25,952,676" freespace="unavailable"
  freespaceformatted="" lastmodifieddate="0"
  lastmodifieddateformatted="Fri, 22 Oct 2010 14:03:42 -0400" />

WebFOCUS