# Generating the index table

[← Index table](/index-table.md)   |   [Enabling index table engine →](/index-table/enabling-index-table-engine.md)

## Generating the index table

*NOTE: After reading this chapter, don't forget* [*to enable the index talbe engine!*](/index-table/enabling-index-table-engine.md)

Before using the index table, you have to properly configure and generate it. Go ahead and click on the `Index Table` submenu under the Ajax search pro sidebar menu item. You should see a page beginning with these buttons:

![](http://i.imgur.com/nriiwl6.png)

Don't generate the index just yet, go through the options first!

### Configuration

**Before** generating anything, you will have to quickly configure the generator script to your needs. You will see two tabs under the generator buttons, `General Options` and `Advanced Options`.

![](http://i.imgur.com/styVThf.png)

Let's quickly go through these options.

#### Step 1: General Options

{% embed url="<https://www.youtube.com/watch?v=ZgjcYkx7jtk>" %}
Index Table Basics Tutorial Video
{% endembed %}

[Detailed screenshot with explanation here.](http://i.imgur.com/PljnAnn.png)

These options are mostly self explanatory. You can configure the following things there:

* what fields to index: title, content, excerpt
* which post types to index (by default the post and the page are selected)
* indexing post tags and categories
* indexing other custom taxonomy terms
* indexing selected custom fields
* indexing author name and description

Don't forget to save these options after configuration!

#### Step 2 (optional): Advanced options

{% embed url="<https://www.youtube.com/watch?v=TnAD_A7U0S4>" %}
Index Table Advanced Options
{% endembed %}

This panel contains the less used options, and the options for troubleshooting if something is not working correctly.

You can select:

* the blogs to index (if you use multisite installation)
* post limit per iteration number - the script won't index all the posts at once, it iterates through them. This number represents how many posts to index per script call. You can increase this if you have a faster server. For low performance servers, this can be lowered.
* stop-words&#x20;
* minimum word length to index
* shortcode content indexing

#### Step 3: Generating the index

After you **checked and saved** the configuration, you can start generating the index table by clicking on the `Create new index` button.

![](http://i.imgur.com/J0KPYNZ.png)

After pressing the button you should see a progress bar, and the number of keywords generated.

#### Step 4: Enabling the index table

If you are done configuring and generating the index table, you still need to enable it for your search instance, [please read the next chapter.](/index-table/enabling-index-table-engine.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.ajaxsearchpro.com/index-table/generating-the-index-table.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
