# Searching the Archive Index

The search bar in LANraragi tries to not be too dumb and will actively suggest tags to you as you type.

If you want to queue multiple terms/tags, you have to use **commas** to separate them, much like how tags are entered in the metadata field when editing an archive.\
You can mix both tags and a specific title in a search if you want.\
You can search for galleries with a specific number of pages with `pages:20`, or with a page range: `pages:>20, pages:<=30`.\
You can also search for galleries with a specific number of pages read with similar syntax, `read:20`, or with a range: `read:>20, read:<=30`.

You can also use the following special characters in a search:

**Quotation Marks ("...")**\
Exact string search. Everything placed inside a pair of quotation marks is treated as a singular term. Wildcard characters are still interpreted as wildcards.

**Question Mark (?), Underscore (\_)**\
Wildcard. Can match any single character.

**Asterisk (\*), Percentage Sign (%)**\
Wildcard. Can match any sequence of characters (including none).

**Subtraction Sign (-)**\
Exclusion. When placed before a term, prevents search results from including that term.

**Dollar Sign ($)**\
Add at the end of a tag to perform an exact tag search rather than displaying all elements that start with the term. Can be used as an exclusion to ignore misc tags in the search query.


---

# 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://sugoi.gitbook.io/lanraragi/basic-operations/searching.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.
