Content privacy, search & index

2012-03-31 Thread dbenjamin
Hi, I'm relatively new to Solr, new in the way that i already used Solr several times but always with a very simple approach, meaning simple fulltext search with faceting and filtering. Today, i've to go a bit further and before i do, i'd like to get your point of view ;-) I need to index users

Re: Content privacy, search & index

2012-03-31 Thread dbenjamin
Hi Erick and thanks for the quick reply. Well, my intend would not to index all content elements with its own list of authorized users IDs. I was thinking more of something like I index the contents and the users + their friend list separatly, and then being able somehow to ask Solr to filter res

Re: Content privacy, search & index

2012-04-01 Thread dbenjamin
Hi Paul, You lost me :-) You mean implementing a specific RequestHandler just for my needs ? Also, when you say "It'd transform a query for "a b" into "+(a b) +(authorizedBit)"", that's not so clear to me, do you mind explaining this like i was a 6 years old ? ;-) (even if I think that's just a

RE: Content privacy, search & index

2012-04-01 Thread dbenjamin
Hi spring, Solution 1 is what i had in mind. So i can't do the whole thing directly in Solr ? (Except maybe by implementing a new RequestHandler like Paul suggested) Concerning the auto-complete of friends in the search box, you won't use the auto-complete feature from Solr then, will you ? Beca

Strange behaviour with default request handler

2012-06-28 Thread dbenjamin
Hi, I have a strange behaviour with the default request handler. In the index i have : 2012-06-28T10:22:51Z Sophie user-6 Michel Sophie sophie 2012-06-28T10:22:51Z Sophia user-7 Martinez Sophia sophia And when i search for "soph"

Re: Strange behaviour with default request handler

2012-07-10 Thread dbenjamin
Hey, Sorry for the late answer. Thanks for your help, i started with a wildcard after your advice, by adding it automatically when i build the request in my code. But then, i found the n-gram filter, which is much appropriate for my use case until i have no performance issue ;-) Thanks again. C