mnoGoSearch 3.3.9 reference manual: Full-featured search engine software
Prev |  | Next

# URLSelectSkipLock

## Name

URLSelectSkipLock -- defines whether to skip locking URLs when fetching crawling targets from the database

`indexer.conf`

## Synopsis

URLSelectSkipLock {yes | no}

## Description

URLSelectSkipLock, indexer sends a `LOCK TABLE url` SQL query when fetching a set of new crawler targets from a MySQL database to avoid multiple indexer instances crawling into the same URLs. Fetching targets can take up to a few seconds in a huge database and can make simultaneous search queries stall and wait for indexer to finish fetching targets. URLSelectSkipLock helps to avoid this kind of delays in search queries when you're running only a single instance of indexer at the same time.

> Note: Running a single indexer instance with multiple threads using the `-N` switch is OK together with `URLSelectSkipLock yes`.

The default value is `no`.

## Examples

    URLSelectSkipLock yes

## See also

URLSelectCacheSize.

Prev | Home | Next
URLSelectCacheSize | Up | UseCookie