XML escaping is probably the best approach. Either surround the whole
thing with "<[CDATA[" and "]]>", or do use one of the many libraries out
there that will escape the string for you.
While an MD5 is designed to be cryptographically secure one way
function, it is NOT guaranteed to be a one-to-o
Can you add some fields that let set a filter or query that weed out the
results that the user doesn't have access too?
If its as simple as Admin versus User, you could have a boolean field
called AdminOnly, and when a User is querying, add a fq=[* TO *]
-AdminOnly:true
You could get more specifi
x27;t told
> about changes in user permissions (e.g.
> demotion from administrative to ordinary user), and even if
> it were I'd hate to have to reindex everything just to
> reflect that change.
>
> Jon
>
> > -Original Message-
> > From: Daniel Pitts [m
t;
> > -----Original Message-
> > From: Daniel Pitts [mailto:[EMAIL PROTECTED]
> > Sent: 27 August 2007 19:07
> > To: solr-user@lucene.apache.org
> > Subject: RE: Filtering using data only available at query time
> >
> > I think you're missing my point.
&
I'm going to be doing something similar, and I don't think I'll be
sorting by score (although, that might be feasible). In my use-case
though, we don't want to include something unless it is already matched
by our filters. I'll probably end up just making two search hits, but
it would be nice if
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Yonik Seeley
> Sent: Friday, April 06, 2007 10:52 AM
> To: solr-user@lucene.apache.org
> Subject: Solr logo poll
>
> Quick poll... Solr 2.1 release planning is underway, and a
> new logo may be a pa
It looks like (from the exception) that you missed a space.
Perhaps your actual query was constructed like:
String query = "width:[" + lowWidth + " TO" + highWidth +"]";
Where you *wanted*
String query = "width:[" + lowWidth + " TO " + highWidth +"]";
> -Original Message-
> From: Jack L [
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 22, 2007 12:31 PM
>
> Hi,
>
> I am running Solr within the Jetty using start.jar. I am
> indexing about 200,000 documents. Sometimes out of the blue,
> the Solr instance cannot process any more