Query Manipulation Server 24.2

# QueryType

The type of query to send to the IDOL Content component.

By default, QMS forwards query text as a standard IDOL conceptual query. You can set `QueryType` on your `Query` action to convert your query text to a vector format and send a vector query to Content.

Set `QueryType` to a comma-separated list of query types to use. The following options are available:

- Conceptual. Sends a standard IDOL conceptual query. This option is the default if VectorConfig is not set.

- Vector. Converts the original query text to a vector by using a configured vector field that you set by using the VectorConfig parameter. The vector field configuration defines the IDOL Content component that you want to query, and the embedding model to use to generate embeddings for that field.

  When you set this option, QMS converts your query text to an embedding and uses it as the query text, by using the Content query `VECTOR` operator.

If you set both conceptual and vector, QMS combines them. For example, if you send the following Query to QMS:

    action=Query&Text=The quick brown fox jumps over the lazy dog&VectorConfig=MyVectorField&QueryType=conceptual,vector

QMS converts the query text to an embedding and sends a query of the following form to Content:

    (The quick brown fox jumps over the lazy dog) OR VECTOR{embeddingdata}:VECTORA

where `VECTORA` is the field configured in the `[MyVectorField]` configuration, and `embeddingdata` is the embedding for the query text, generated by the model configured in the `[MyVectorField]` configuration.

QMS converts the query text to vectors before it processes any other manipulations (such as query cooking or synonym expansion).

For more information about vector search, refer to the IDOL Content component Help.

Action: | Query
Type: | String
Default: | Conceptual, if VectorConfig is not set Vector, if VectorConfig is set
Required: | No
Example: | `QueryType=Conceptual,Vector`
See Also: | VectorFields Configuration Parameters Embeddings Configuration Parameters VectorConfig

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Query Manipulation Server 24.2

Topic Title: QueryType