Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Increase search limit

...

The search field is located in the web GUI of i-doit in the upper right corner. Here you can search for any term of the IT documentation. While typing, the first results already appear (search suggestions), they can be selected using the mouse or the keyboard (auto-completion) to jump directly to the found data set.

 


 


Apart from the plain text, the search can be restricted to specific object attributes:

...

If the search suggestions mentioned above do not lead to the desired result, then pressing return will present a page with search results. Next to each piece of found data sets also the source is stated, for example, the attribute of a category of an object type in the CMDB module.

 


 


Tip
titleSet bookmark/favorite

Each search can be referenced via the URL. Searching the term "acme" results in the URL http://i-doit/i-doit/search?q=acme. Search results can be saved as bookmarks/favorites  in the web browser in order to be able to access them quicker.

...

The CLI tool i-doit controller allows you to search via the command line. The required handler is search_index with the search parameter. An example: 


Code Block
languagebash
$ ./controller -u admin -p admin -i 1 -m search_index search "acme"
+------+-------------------------------------------------------+------------------------------------------------------------------------+-------+
| ID   | Key                                                   | Found Match                                                            | Score |
+------+-------------------------------------------------------+------------------------------------------------------------------------+-------+
| 538  | Database scheme > Global > Title                      | i-doit Tenant ACME IT Solutions                                        | 4.04  |
| 25   | Organisation > Global > Title                         | ACME IT Solutions GmbH                                                 | 4.04  |
| 157  | Person groups > Mail Addresses > Title                | Team: intern@acme-it.example                                           | 4.04  |
| 158  | Persons > Mail Addresses > Title                      | Adam Riese: a.riese@acme-it.example                                    | 4.04  |
| 160  | Persons > Mail Addresses > Title                      | Mara Thon: m.thon@acme-it.example                                      | 4.04  |
| 164  | Persons > Mail Addresses > Title                      | Falk Narei: f.narei@acme-it.example                                    | 4.04  |
| 25   | Organisation > Mail Addresses > Title                 | ACME IT Solutions GmbH: info@acme-it.example                           | 4.04  |
[...]
+------+-------------------------------------------------------+------------------------------------------------------------------------+-------+

...

Finally, re-indexing via the i-doit controller has to be effected (see above).

Increase the limit of 2500 results

If objects are named consecutively e.g. 123456-00001 to 123456-99999 only objects up to 123456-2500 can be found with normal search settings.
This limit is for performance reasons. To increase this limit, an expert setting must be added.

Here is an example where the limit was set to 5000 results.

KeyValueType
search.limit5000Tenant-wide