Skip to content

BM25 index creation blocked by corporate proxy #1183

Answered by neilyio
colexbruhn asked this question in Q&A
Discussion options

You must be logged in to vote

@colexbruhn happy to help. A little bit about the architecture of pg_search. When the extension is initialized, we create a`"writer" background worker which is responsible for all writes/updates/deletes to the index. This is very important for Tantivy, our underlying search engine, which is strict about only one thread/process at a time having write access to the index.

When you connect a client like to Postgres, a corresponding "backend" process is created for the client. If you have 10 clients connected to Postgres, you have 10 "backend" processes... but still only one pg_search "writer" process.

When your client performs a insert/update/delete query, the "backend" process makes an HTTP…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@colexbruhn
Comment options

@philippemnoel
Comment options

Answer selected by colexbruhn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants