Hi,

We have a requirement to be able to have a master product catalog and to
create a sub-catalog of products per user. This means I may have 10,000
users who each create their own list of documents. This is a simple mapping
of user to documents. The full data about the documents would be in the main
catalog.

What approaches would allow Solr to only return the results that are in the
user's list?  It seems like I would need a couple of steps in the process.
In other words, the main catalog has 3 documents: A, B and C. I have 2
users. User 1 has access to documents A and C but not B. User 2 has access
to documents C and B but not A.

When a user searches, I want to only return documents that the user has
access to.

One approach would seem to have a DB table for the user's "catalog" list.
Then during indexing, use that table to index each product against all
applicable users.  Then, during search, restrict the results to products
that match to the current user. No idea HOW to do that.

Another approach would seem to be to do nothing on indexing and instead
provide some type of filter on the results that limits the results for the
specific user. No idea how to do that either.

The goal is to have the ability to have "personalized product catalogs". The
big problem is that we have very large catalogs with a high number of users.
Something like 500,000 products and 10,000 customers.

The solution needs to perform well for both indexing and search.  My client
is considering dropping SOLR and investing in Endeca if Solr cannot handle
this need efficiently.

Any suggestions or help would be greatly appreciated.

bob



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Peronalized-Search-Results-or-Matching-Documents-to-Users-tp4219951.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to