Discussed before, it's more relation db task than lucene.

Simple approach is to get a list of terms from your queries and store relation document - query - terms.

I have around 1.6e10 query-terms in postgreSQL and with proper index select takes around 0.6 ms (clustered vacuumed analyzed), 300 ms after day.

I would like to index the user submitted queries to a given index. As a
result of this I want to provide something like: people who searched for
test searched also with these queries: +title:test +author:somename.

I think the simple approach of just adding the queries as a string in a
document, would cause many redundancies, e.g. thousands of docs with
test in it.

Does anybody have programmed something similar, or is it just not a
reasonable idea?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to