r
> has access - so an OR clause works. Your system may have more complex
> role rules.
>
> -Original Message-
> From: aseem cheema [mailto:aseemche...@gmail.com]
> Sent: Thursday, November 19, 2009 5:00 PM
> To: solr-user@lucene.apache.org
> Subject: Filtering que
Hey Guys,
I need to filter out some results based on who is performing the
search. In other words, if a document is not accessible to a user
performing search, I don't want it to be in the result set. What is
the best/easiest way to do this reliable/securely in Solr?
Thanks
--
Aseem
match what gets stored... because.. well HTML is
stripped only for indexing. Makes so much sense.
Thanks to Ryan McKinley for clarifying this.
Aseem
On Wed, Nov 11, 2009 at 9:50 AM, aseem cheema wrote:
> I am trying to post a document with the following content using SolrJ:
> content
> I
ed field, can you just strip it out before
> passing to solr?
>
>
> On Nov 11, 2009, at 8:07 PM, aseem cheema wrote:
>
>> Hey Guys,
>> How do I add HTML/XML documents using SolrJ such that it does not by
>> pass the HTML char filter?
>>
>> SolrJ escapes
Hey Guys,
How do I add HTML/XML documents using SolrJ such that it does not by
pass the HTML char filter?
SolrJ escapes the HTML/XML value of a field, and that make it bypass
the HTML char filter. For example content if added to
a field with HTMLStripCharFilter on the field using SolrJ, is not
str
I am trying to post a document with the following content using SolrJ:
content
I need the xml/html tags to be ignored. Even though this works fine in
analysis.jsp, this does not work with SolrJ, as the client escapes the
< and > with < and > and HTMLStripCharFilterFactory does not
strip those escap
HTMLStripCharFilterFactory class has a constructor that accept
escaptedTags. I believe this will solve my problem. But I am not sure
how to pass this from schema.xml file. I have tried but
that didn't work.
Anybody?
Thanks
On Tue, Nov 10, 2009 at 10:56 AM, aseem cheema wrote:
> Hey G
but how do I accomplish what I
want to? I need to get the html in body field stripped out.
Any help is highly appreciated.
Thanks
Aseem
On Tue, Nov 10, 2009 at 10:56 AM, aseem cheema wrote:
> Hey Guys,
> I have HTMLStripCharFilterFactory char filter declared in my
> schema.xml for fieldT
Hey Guys,
I have HTMLStripCharFilterFactory char filter declared in my
schema.xml for fieldType text (code below). I am using this field type
for body field of my schema. I am seeing different behavior when I use
SolrJ to post a document (code below) and when I use the analysis.jsp.
The text I am p