Re: Doc add limit

2006-07-28 Thread Andrew May
I'm using HttpClient for indexing and searching and it seems to work well. You can either POST files directly (only works in 3.1 alpha, use InputStreamRequestEntity in 3.0): PostMethod post = new PostMethod(solrUrl); post.setRequestEntity(new FileRequestEntity(file, "application/xml"

Highlighting problems with HTML tagged fields

2006-07-28 Thread Andrew May
Hi, I'm indexing some content that contains HTML markup, and this seems to throw off the highlighting somehow. Example title field: 40Ar/39Ar laserprobe dating of mylonitic fabrics in a polyorogenic terrane of NW Iberia If I search form title:fabrics and turn highlighting on, the highlight

Indexing UTF-8

2006-08-10 Thread Andrew May
Hi, I'm trying to index some UTF-8 data, but I'm experiencing some problems. I'm using the 28th July nightly build, which I believe contains all the recent fixes for making the administration webapp use UTF-8. I've tried running in both the provided Jetty instance and Tomcat 5.5.17. I've ind

Re: Indexing UTF-8

2006-08-10 Thread Andrew May
Bertrand Delacretaz wrote: Does your build contain the http://issues.apache.org/jira/browse/SOLR-38 patch, and if so did you try posting the utf8-example.xml document with post.sh and querying it through the admin interface? That patch should be part of the build I'm using (patch committed on t

Highlighting problem - mutivalue field

2006-08-11 Thread Andrew May
Hi, I'm afraid I've found another slightly odd thing with Highlighting, in this case in a multi-valued field I'm using for author names. The author names are typically Surname, initials (e.g. May, A.D.), and these are the kind of results I'm getting: authors:Buxton 02 Duncan, W.I.Bu

Queries with wildcards

2006-08-18 Thread Andrew May
Hi, I figure I'm probably being stupid, but I can't seem to get queries (using the standard request handler) using wildcards to work. For example, using the latest build (Aug 18) and the example documents, a search for Enterprise matches the SOLR1000 document, but a search for Enter* does not

Re: Queries with wildcards

2006-08-18 Thread Andrew May
Chris Hostetter wrote: : For example, using the latest build (Aug 18) and the example documents, a search for : Enterprise matches the SOLR1000 document, but a search for Enter* does not. try searching for:enter* Ah-ha! ...this is a somewhat long standing anoyance with Lucene, that exi

Re: Simplest way to load a custom RequestHandler in Jetty?

2006-08-29 Thread Andrew May
Erik Hatcher wrote: > Why not deconstruct the WAR? Alternatively you can just update the WAR directly which is what I'm doing to add in a custom TokenFilter I wrote: Here's the Jetty FAQ entry on Hot-Deploy: http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_HotDeploy.htm

Re: SolrCore as Singleton?

2006-09-08 Thread Andrew May
Chris Hostetter wrote: : Nice. Is the same doable under Jetty? (never had to deal with JNDI : under Jetty) i haven't tried it personally, but according to Yoav "reading" JNDI options is part of hte Servlet Spec, and billa found a refrene to useing "" to do so... http://www.nabble.com/Re%3A-mul