com.bea.apps.groupspace.search.controls
Annotation Type EnterpriseSearchControl.SearchParams


@Target(value={FIELD,TYPE})
@Retention(value=RUNTIME)
public static @interface EnterpriseSearchControl.SearchParams

Set the defaults for search parameters


Annotation Type Optional Member Summary
 String connectionEncoding
          Option to set the encoding of the autonomy connection
 int DiSH_aciPort
           
 String DiSHServerHost
           
 int IDOL_aciPort
           
 String limitDocType
          all types.
 int limitRelevanceScore
          Return only the top N search results whose relevance weights are above this
 boolean loadAllIntoMemory
          Option to load all search results into memory.
 int maxResults
          Limit search results to the top N results.
 String outputEncoding
          Option to set the encoding of results returned.
 int pageSize
          Partition the search results into pages of this size
 String printFields
          Additional fields to include in the found document
 boolean searchAnyLanguage
          Option to search over any languages (just search the default language if false).
 String sortString
          Specify the sort fields and how they are to be sorted.
 

limitRelevanceScore

public abstract int limitRelevanceScore
Return only the top N search results whose relevance weights are above this

Default
50

maxResults

public abstract int maxResults
Limit search results to the top N results. Max allowed is 500.

Default
100

pageSize

public abstract int pageSize
Partition the search results into pages of this size

Default
10

loadAllIntoMemory

public abstract boolean loadAllIntoMemory
Option to load all search results into memory.

Default
false

searchAnyLanguage

public abstract boolean searchAnyLanguage
Option to search over any languages (just search the default language if false).

Default
false

outputEncoding

public abstract String outputEncoding
Option to set the encoding of results returned.

Default
"UTF8"

connectionEncoding

public abstract String connectionEncoding
Option to set the encoding of the autonomy connection

Default
"utf-8"

DiSHServerHost

public abstract String DiSHServerHost
Default
"localhost"

DiSH_aciPort

public abstract int DiSH_aciPort
Default
20000

IDOL_aciPort

public abstract int IDOL_aciPort
Default
9014

limitDocType

public abstract String limitDocType
all types. Could also be "doc", for example. For multiple types, use limitSearchToDocTypes

Default
""

printFields

public abstract String printFields
Additional fields to include in the found document

Default
"title,author,dredate,creationdate,drefullfilename"

sortString

public abstract String sortString
Specify the sort fields and how they are to be sorted. Default is to sort by relevance. This is a more flexible API than using the setSortCriteria() method. Note that, if that sort field does not exist on the document, the document will not even be returned by the search. Some sort examples are:

Default
""


Copyright © 2006 BEA Systems, Inc. All Rights Reserved