Looking at the API doc, it seems that only floating value is currently 
supported, is it true?
 thanks,
canal




________________________________
From: Geert-Jan Brits <gbr...@gmail.com>
To: solr-user@lucene.apache.org
Sent: Sat, March 12, 2011 1:42:38 AM
Subject: Re: Solr and Permissions

About the 'having to reindex when permissions change'-problem:

have a look at ExternalFileField
http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html
<http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html>which

enables you to reload a file without having to reindex all the documents.

Thinking out loud: multivalued field 'roles' of type ExternalFileField.
- assign each person 1 or multiple roles.
- each document has multiple roles assigned to it (which are entitled to
view it)

Not sure if it (the ExternalFileField approach) scales though.

Geert-Jan


2011/3/11 Bill Bell <billnb...@gmail.com>

> Why not just add a security field in Solr and use fq to limit to the users
> permissions?
>
> Bill Bell
> Sent from mobile
>
>
> On Mar 11, 2011, at 10:27 AM, Walter Underwood <wun...@wunderwood.org>
> wrote:
>
> > On Mar 10, 2011, at 10:48 PM, go canal wrote:
> >
> >> But in real world, any content management systems need full text search;
> so the
> >> question is to how to support search with permission control.
> >>
> >> I have yet to see a Search Engine that provides some sort of Content
> Management
> >> features like we are discussing here (Solr, Elastic Search ?)
> >
> >
> > It isn't free, but MarkLogic can do this. It is an XML database with
> security support and search. Changing permissions is an update transaction,
> not a reload. Permissions can be part of a search, just like any other
> constraint.
> >
> > The search is not the usual crappy search you get in a database.
> MarkLogic is built with search engine technology, so the search is fast and
> good.
> >
> > We do offer a community license for personal, not-for-profit use. See
> details here:
> >
> > http://developer.marklogic.com/licensing
> >
> > wunder
> > --
> > Walter Underwood
> > Lead Engineer, MarkLogic
> >
>



      

Reply via email to