RE: Filtering query results

2009-11-20 Thread Glock, Thomas
Hi Aseem - I had a similar challenge. The solution that works for my case was to add "role" as a repeating string value in the solr schema. Each piece of content contains 1 or more roles and these values are supplied to solr for indexing. Users also have one or more roles (which correspond ex

RE: Getting update/extract RequestHandler to work under Tomcat

2009-11-03 Thread Glock, Thomas
Follow-up - This is now working (sadly I'm not sure exactly why!) but I've successfully used curl (under windows) and the following examples to parse content curl http://localhost:8080/apache-solr-1.4-dev/update/extract?extractOnly=tru e --data-binary @curl-config.pdf -H "Content-type:applicati

RE: Getting update/extract RequestHandler to work under Tomcat

2009-11-03 Thread Glock, Thomas
non-Lazy loaded handler. Does that help? On Nov 2, 2009, at 4:37 PM, Glock, Thomas wrote: > > Hoping someone might help with getting /update/extract RequestHandler > to work under Tomcat. > > Error 500 happens when trying to access > http://localhost:8080/apache-solr-1.4-d

Getting update/extract RequestHandler to work under Tomcat

2009-11-02 Thread Glock, Thomas
Hoping someone might help with getting /update/extract RequestHandler to work under Tomcat. Error 500 happens when trying to access http://localhost:8080/apache-solr-1.4-dev/update/extract/ (see below) Note /update/extract DOES work correctly under the Jetty provided example. I think I must ha

RE: Solr under tomcat - UTF-8 issue

2009-10-26 Thread Glock, Thomas
s based on the user's role. I have only two roles to support, so my case is very simple, but I could imagine having a multivalued "role" field that you could perform facet queries on. Mark Glock, Thomas wrote: > > Thanks - > > I agree. However my application requires

RE: Solr under tomcat - UTF-8 issue

2009-10-24 Thread Glock, Thomas
ue Don't use POST. That is the wrong HTTP semantic for search results. Use GET. That will make it possible to cache the results, will make your HTTP logs useful, and all sorts of other good things. wunder On Oct 24, 2009, at 10:11 AM, Glock, Thomas wrote: > > Thanks - I now th

RE: Solr under tomcat - UTF-8 issue

2009-10-24 Thread Glock, Thomas
; Subject: Re: Solr under tomcat - UTF-8 issue > > Hello > > Have you set URIEncoding attribute to UTF-8 in tomcat's server.xml (on > connector element)? > > Like: > > protocol="HTTP/1.1" redirectPort="8443"/> > > Hope this helps. > >

RE: Solr under tomcat - UTF-8 issue

2009-10-24 Thread Glock, Thomas
er.xml (on connector element)? Like: Hope this helps. Best regards czinkos 2009/10/24 Glock, Thomas : > > Hoping someone can help - > > Problem: >        Querying for non-english phrases such as Добавить do not return any > results under Tomcat but do work when using the Je

Solr under tomcat - UTF-8 issue

2009-10-24 Thread Glock, Thomas
Hoping someone can help - Problem: Querying for non-english phrases such as Добавить do not return any results under Tomcat but do work when using the Jetty example. Both tomcat and jetty are being queried by the same custom (flash) client and both reference the same solr/da

POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Glock, Thomas
Is a way to POST queries to Solr instead of supplying query string parameters ? Some of our queries may hit up against URL size limits. If so, can someone provide an example ? Thanks in advance