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 query results
Hey Guys,
I need to filter out some results based on who is performing the search.
In other
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
I am trying to post a document with the following content using SolrJ:
centercontent/center
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 lt; and gt; and HTMLStripCharFilterFactory does not
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 centercontent/center if added to
a field with HTMLStripCharFilter on the field using
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 the HTML/XML value of a field, and that make it bypass
the HTML
not 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 aseemche...@gmail.com wrote:
I am trying to post a document with the following content using SolrJ
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
them from
interfering with the solr xml document, 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 aseemche...@gmail.com wrote:
Hey Guys,
I have
On Tue, Nov 10, 2009 at 10:56 AM, aseem cheema aseemche...@gmail.com wrote:
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