How to deal with "java.net.SocketTimeoutException: Read timed out" on commit?

2011-08-16 Thread Geir Gullestad Pettersen
Hi, We're getting a lot of these timeouts during bulk feeding or a large document set. We're sending batches of 1000 documents and commiting every 15 minutes or for every 10.000 docs, whichever happens first. We find that the first few commits (after 10'/20'/30' docs) go through without exceptions

Re: Building hierarcies of query object instead of flat string queries

2011-05-11 Thread Geir Gullestad Pettersen
r is easily expandable to new Query types and even handles simple Filter caching for you. Throw in a little XSLT, and the coolness multiplies. *Example syntax:* * merger sumitomo bank * Thanks, Geir On 10 May 2011 14:29, Geir Gullestad Pettersen wrote: > Is

Building hierarcies of query object instead of flat string queries

2011-05-10 Thread Geir Gullestad Pettersen
Is it possible to create hierarchies of query operator objects and pass that to solr instead of constructing a long string query? This would enable client applications to construct complex queries and have them verified by the compiler, example (psuedo code): q = BooleanQuery( minNumberShouldMa

How does higlighting work?

2008-03-03 Thread Geir Gullestad Pettersen
I've added &hl=on&hl.fl=* to enable highlighting on all fields. However, the result does not contain any snippets of the matching terms, the only extra thing I get is the following: (..) "file:/H:/Documents/QUT/Report2205.doc" is the unique key for the document returned by the