In addition to searchTextValues, optional advanced search parameters can be used. The following parameters are activated when a non-empty string value is passed in for the given parameter:

Search Parameter

Description

initialSearchDelimiter

This parameter sets the delimiter character. The default delimiter is a comma. This delimiter value will be set for search text values, document formats, topics and solution classes.

searchTextValues

The delimited string containing the search text values.

favoriteQuery

Repository ID of the favorite query you would like to apply as a constraint.

topics

Delimited string of topic IDs. 

searchAllTopics

If set to optAll, then search result must be in all topics listed in topics parameters. If set to optAtLeastOne then search results must be in at least one of the topics listed in the topics parameters.

keywordAllOfTheWords

Space delimited list of keywords. All must be present. Generates a constraint like:

<all>keyword1 keyword2</all>

keywordAtLeastOneOfTheWords

Space delimited list of keywords. Match if any are present. Generates a constraint like:

<all>keyword1 keyword2</all>

keywordNotTheWords

Space delimited list of keywords. None of the words must be present.

documentFormats

Delimited list of document formats. Result must match the specified document formats. Possible document formats include: XHTML, Text, PDF, HTML, and Other and All.

Solutions are represented as XHTML.

solutionClasses 

Delimited string of SolutionClass repository item _NAMES_, and not actual IDs.

For example:

“Handy PC Solutions” as opposed to: “100002”

creationDateType

If set to true, then numerical range is used for creation date. If set to false, then the from and to range is used.

listCreationRange

A number representing days. The solution or file was created within the last N number of days.

creationDateFrom

A date of the form MM/DD/YYYY specifying the start date for the creation range.

creationDateTo

A date of the form MM/DD/YYYY specifying the end date for the creation range.

lastModifiedDateType

If set to true, then numerical range is used for last modified date. If set to false, then the from and to range is used.

lastModifiedRange

A number representing days. The solution or file was modified within the last N number of days.

lastModifiedDateFrom

A date of the form MM/DD/YYYY specifying the start date for the last modified range.

lastModifiedDateTo

A date of the form MM/DD/YYYY specifying the end date for the last modified range.

languageQuery 

The query language code. For example: en. See com.primus.searchstudio.parseroptions.Lanugage for a list of languages.

languageResults 

The target language code for the results. For example: en

isRecordSearch

If true, records the search in the search history. 

advancedConstraintsAsXml

advancedNonSolutionConstraintsAsXml

advancedSolutionConstraintsAsXml

 
loading table of contents...