The QueryRequest class has docProps and textProps properties that specify lists of the metadata and text properties to include in the response. If a property is specified in one of these lists, its values are included in the search results that are returned. This simplifies displaying these values in JSPs, since otherwise you’d need to retrieve them from the indexed repository.

The docProps property is an array of the names of the metadata properties to return, and the textProps property is an array of the text properties to return. For example, you might set docProps like this:

docProps+=atg:string:color,atg:float:salePrice

If you want to return all of the metadata or text properties in the index, you can specify this with the special keyword “all”, rather that specifying them individually. For example:

textProps="all"
 
loading table of contents...