Re: possible highlighter limits?

2008-04-17 Thread Martijn Dekkers
Mike, you are a saint! thanks - we actually had this defined, but somewhat wrongly: typo (hangs head in shame) Martijn On 18/04/2008, Mike Klaas <[EMAIL PROTECTED]> wrote: > > On 17-Apr-08, at 8:05 AM, Martijn Dekkers wrote: > > > Hi all, > > > > when we retrieve larger documents through SOLR wit

how to get total hits for the request?

2008-04-17 Thread surfer10
I'm using solr and unable to manage total number of document returned by search? how can i do this? -- View this message in context: http://www.nabble.com/how-to-get-total-hits-for-the-request--tp16760375p16760375.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Searching "inside of words"

2008-04-17 Thread Otis Gospodnetic
Hi Daniel, Well, searching "inside of words" requires special treatment, because normally searches work on words/terms/tokens. Make use of the following: $ ff \*NGram\*java ./src/java/org/apache/solr/analysis/EdgeNGramTokenizerFactory.java ./src/java/org/apache/solr/analysis/NGramTokenizerFactory

Re: config for very frequent solr updates

2008-04-17 Thread Otis Gospodnetic
Geoff, There was just another thread where the person said he was doing updates every 2 minutes. Like you said, with the way Solr warms searchers, this could be too frequent for instances with large caches and high autowarmCount. You may be better off playing with the combination of larger old

Re: ODD Solr Error on Update POST - XMLStreamException: ParseError

2008-04-17 Thread realw5
OK. So, I just freshly formated my dev box. Reinstalled Ubuntu 6.06 LTS (amd64), Java 6 (64bit), Tomcat 6.0.16 (with URIEncoding="UTF-8"), and installed solr-1.2.0. I'm still getting the same weird errors, but they have changed a little bit. Below are the errors that are return as I hit refresh.

Re: ODD Solr Error on Update POST - XMLStreamException: ParseError

2008-04-17 Thread Yonik Seeley
On Thu, Apr 17, 2008 at 8:12 PM, Brian Johnson <[EMAIL PROTECTED]> wrote: > The XML parser is probably not threadsafe but is being reused concurrently by > multiple post threads resulting in these exceptions. Hmmm, yes, the factory is reused... here's the code we use to try and make it thread-saf

Re: ODD Solr Error on Update POST - XMLStreamException: ParseError

2008-04-17 Thread Brian Johnson
The XML parser is probably not threadsafe but is being reused concurrently by multiple post threads resulting in these exceptions. The observed 'randomness' of the errors would be due to the unpredictable nature of the race condition between threads. The reason you don't see this with smaller do

Re: possible highlighter limits?

2008-04-17 Thread Mike Klaas
On 17-Apr-08, at 8:05 AM, Martijn Dekkers wrote: Hi all, when we retrieve larger documents through SOLR with highlighting, the highlighted document gets truncated. We run the following query: http://172.16.9.67:8983/solr/select?indent=on&version=2.2&q=nid%3A13048+AND+body%3Afrance&start=0&rows=

Re: ODD Solr Error on Update POST - XMLStreamException: ParseError

2008-04-17 Thread Yonik Seeley
On Thu, Apr 17, 2008 at 5:41 PM, realw5 <[EMAIL PROTECTED]> wrote: > Ok, so I tried tomcat 5.5, still not go. It might be helpful to note, that > when I decrease the size of the post (take fields out) I can get it to post > without error. It seems like it's barfing on a certain file size (buffer

Re: ODD Solr Error on Update POST - XMLStreamException: ParseError

2008-04-17 Thread realw5
Ok, so I tried tomcat 5.5, still not go. It might be helpful to note, that when I decrease the size of the post (take fields out) I can get it to post without error. It seems like it's barfing on a certain file size (buffer issue maybe??). I'm running 32-bit Ubuntu on our production system and hav

Re: ODD Solr Error on Update POST - XMLStreamException: ParseError

2008-04-17 Thread Yonik Seeley
Since you've already tried different Solr versions and different JVM versions, it's most likely Tomcat... try version 5.5. If that doesn't work, try a different OS (less likely, but it could be a libc bug or something). -Yonik On Thu, Apr 17, 2008 at 3:28 PM, realw5 <[EMAIL PROTECTED]> wrote: >

Tomcat JNDI and CWD Configuration problem with multiple solrs

2008-04-17 Thread Albert Ramstedt
Hello List! I am not an expert at configuring Tomcat, so I must be doing something wrong, but for the life of me, I cannot find anything that would explain this: I want to have two separate solr apps running on one tomcat. I use the exact configuration suggested here: http://wiki.apache.org/solr

ODD Solr Error on Update POST - XMLStreamException: ParseError

2008-04-17 Thread realw5
Hey All, I've been beating my head on this problem with no luck on finding the cause. I've done many nabble and google searches with no real solution. Let me explain the problem. First my system setup: Ubuntu 64bit Linux 6.06 Java 1.6 (amd64) (Also tried 1.5 with same results) Solr 1.2 (also try

Re: CorruptIndexException

2008-04-17 Thread Michael McCandless
Which exact version of the JRE are you using? Can you try running java with -Xbatch (forces up front compilation)? Your situation sounds very similar to this one: http://lucene.markmail.org/message/awkkunr7j24nh4qj Mike On Apr 17, 2008, at 10:57 AM, Robert Haschart wrote: Greetings all

Updating in Solr.SOLR-139

2008-04-17 Thread nutchvf
Hi! There are any option to update a field (or a set of fields) of a document indexed in Solr,without having to update all the fields of the entire document??? I have seen the SOLR-139 patch,but I do not know what is the proper syntax of the command (or the xml to post) to update the document.Is

Re: XSLT transform before update?

2008-04-17 Thread Daniel Papasian
Shalin Shekhar Mangar wrote: Hi Daniel, Maybe if you can give us a sample of how your XML looks like, we can suggest how to use SOLR-469 (Data Import Handler) to index it. Most of the use-cases we have yet encountered are solvable using the XPathEntityProcessor in DataImportHandler without using

possible highlighter limits?

2008-04-17 Thread Martijn Dekkers
Hi all, when we retrieve larger documents through SOLR with highlighting, the highlighted document gets truncated. We run the following query: http://172.16.9.67:8983/solr/select?indent=on&version=2.2&q=nid%3A13048+AND+body%3Afrance&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOthe

CorruptIndexException

2008-04-17 Thread Robert Haschart
Greetings all, We are using Solr to index Marc records to create a better, more user friendly library catalog here at the University of Virginia. To do this I have written a program starting from the VuFind Java importer written by Wayne Graham (from the College of William & Mary). After

Re: too many queries?

2008-04-17 Thread Jonathan Ariel
Ok. So I tried with less cache as I told you, but the server goes down after a while. I will use jconsole to monitor the servers and see what happens. Maybe it is a memory issue? With the cache changes I noticed that there are no evictions at all and the facet query time went from 500ms to 80ms in

operator in Dismax??

2008-04-17 Thread muddassir hasan
Hi , I had a doubt regarding using operator in dismax handler that if i could use OR, AND, NOT operators in dismax, as they are used in standard handler. I tried using OR operator as used in standard handler but got unexpected results. Thanks. M.Hasan Muddassir Hasan --

config for very frequent solr updates

2008-04-17 Thread Geoffrey Young
hi all :) I didn't see any documentation on this, so I was wondering what the experience here was with updating solr with a small but constant trickle of daemon-style updates. unfortunately, it's a business requirement that backend db updates make it to search as the changes roll in (5 minut

Updating documents in Solr

2008-04-17 Thread nutchvf
Hi! There are any option to update a field (or a set of fields) of a document indexed in Solr,without having to update all the fields of the entire document??? I have seen the SOLR-139 patch,but I do not know what is the proper syntax of the command (or the xml to post) to update the document.Ple

Searching "inside of words"

2008-04-17 Thread Daniel Löfquist
Hi, I'm still pretty new to Solr. We're using it for searching on our site right now though. The configuration is however pretty much based on the example-files that come with Solr and there's one type of search that I can't get to work. Each item has fields called "title" and "description"