> When making a query these fields should be required. Is it possible to configure handlers on the solr server so that these field are required whith each type of query? So for adding documents, deleting and querying?
have a look at 'invariants' (and 'appends') in the example solrconfig. They can be defined per requesthandler and do exactly what you describe (at least for the search-side of things) Cheers, Geert-Jan 2010/11/23 Jos Janssen <j...@websdesign.nl> > > Hi everyone, > > This is how we think we should set it up. > > Situation: > - Multiple websites indexed on 1 solr server > - Results should be seperated for each website > - Search results should be filtered on group access > > Solution i think is possible with solr: > - Solr server should only be accesed through API which we will write in > PHP. > - Solr server authentication wil be defined through IP adres on server side > and username and password will be send through API for each different > website. > - Extra document fields in Solr server will contain: > 1. Website Hash to identify and filter results fo each different website > (Website authentication) > 2. list of groups who can access the document (Group authentication) > > When making a query these fields should be required. Is it possible to > configure handlers on the solr server so that these field are required > whith > each type of query? So for adding documents, deleting and querying? > > Am i correct? Any further advice is welcome. > > regard, > > Jos > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLR-and-secure-content-tp1945028p1953071.html > Sent from the Solr - User mailing list archive at Nabble.com. >