---
title: "Service: /groups/{group}/autosuggest/fields [GET] (obsolete)"
source: https://dev.pageseeder.com/reference/version_5/services/autosuggest-group-fields-GET.html
description: "Autosuggest a query for a specific field"
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~718
---

# /groups/\{group\}/autosuggest/fields \[GET\]

| Property | Value |
| --- | --- |
| Path: | /groups/{group}/autosuggest/fields |
| Method: | GET |
| Generator: | obsolete |
| Version: |  |
| Since: |  |
| Deprecated: | 5.9400 |
| Obsolete: | 6.0000 |
| Cache control: | max-age=30, must-revalidate |
| API Support: | OBSOLETE |
| Generated: | 2022-07-01 |

## Description

> **Deprecated:** This service is now deprecated, use [Service: /groups/\{group\}/autosuggest \[GET\]](../../../api/services/group-autosuggest-GET.md) instead.

Return result suggestions from a query for a specific field

This service returns the list of result suggestions from a prefix match on a set of fields.

### Auto-suggest vs auto-complete

The auto-complete function returns the list of *possible search terms *using prefix matching.

For example, for term “ali”, the auto-complete returns terms like “align”, “alignment”, etc.

The auto-suggest feature returns *possible* *search results* by using the auto-complete function on a list of terms and the executing the corresponding query with these terms.

For example, for term “ali”, the auto-suggest first determines the list of possible match terms and then returns the best matching search results including these terms.

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| fields | The index fields to search | yes | string |  |
| term | The prefix of the  terms | yes | string |  |
| predicate | A additional predicate – this is an advanced option | no | Lucene predicate | `+type:document` |

> **Note:** Although the fields and term parameters are not strictly required, that is an error is not thrown if they are not specified, this service only returns search results if both parameters are specified. This behavior might change in future releases.

## Permission

This service is restricted to guest and higher.

## Response

Example XML output:

```xml

<autosuggest term="lorem">
  <query empty="false" predicate="...">
    <suggestion-query>
      <terms>
        <term field="pstitle" text="lorem"/>
        <term field="psfilename" text="lorem"/>
        <term field="psdocid" text="lorem"/>
        <term field="psid" text="lorem"/>
      </terms>
      <condition>pstype:document</condition>
    </suggestion-query>
  </query>
  <results page="1"
           page-size="10"
           total-pages="1"
           total-results="2"
           first-result="1"
           last-result="2">
    <result score="1.6665791">
      <field name="psid">4482</field>
      <field name="pstitle">lorem_ipsum.psml</field>
      ...
    </result>
    <result score="1.6665700">
      <field name="psid">4400</field>
      <field name="pstitle">lorem.psml</field>
      ...
    </result>
  </results>
</autosuggest>
```

## Error Handling

No specific errors expected for this service.

