Re: best way indexing user queries

2006-09-07 Thread karl wettin
On Thu, 2006-09-07 at 15:46 +0200, Martin Braun wrote: > Hello, > > 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

Re: best way indexing user queries

2006-09-07 Thread Karel Tejnora
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

best way indexing user queries

2006-09-07 Thread Martin Braun
Hello, 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 docu