One approach is to have a multi-valued "views" field for each document which
indicates which views can see each document, and then apply a filter query
to the user query which specifies the view(s) that that particular user is
permitted based on their logon.
-- Jack Krupansky
-----Original Message-----
From: nitin malhotra
Sent: Saturday, October 06, 2012 11:01 AM
To: solr-user@lucene.apache.org
Subject: Solr Indexing and Search on different Product Catalog Views
Hi!
I have a business case to Index the Product Catalogue data using Solr for a
food chain client. The data received is in the form of XML. And the
business requirement for search is that a log in customer on the portal
when performs a search, it should be able to search only a specific set of
products from the catalogue. This can be understood as forming different
views of product catalogue which have certain products available for search
and purchase. Also the products in a particular view (catalogue group) can
exist in more than one set.
The # of views (or groups to be formed) - 1500 approx
1. Need help to understand the strategy to index data to be able to make it
available for search in the catalogue views.
2. Is there a way to index the complete catalogue and then have some way to
search based on the product views ?
Please go easy as I am new to the SOlr.
Best Regards;
Nitin