RE: Tomcat special character problem

2010-11-08 Thread Yuval Feinstein
Tomcat is notorious for not having the defaults right for UTF-8. Em, I suggest you go over the suggestions in: http://wiki.apache.org/tomcat/FAQ/CharacterEncoding Also, maybe you can use wget/curl to issue your http requests from a shell which is better suited for the encoding. -- Yuval -Ori

RE: diacritics on query string

2010-08-14 Thread Yuval Feinstein
Hi Andrea. I suspect your servlet container. For Tomcat, you have to make several adjustments to handle non-ASCII characters: http://wiki.apache.org/tomcat/FAQ/CharacterEncoding If you are using Jetty or another container, there probably is a similar configuration issue. Cheers, Yuval -Origin

RE: Locked Index files

2010-07-13 Thread Yuval Feinstein
Hi Giorgos. Try looking for write.lock files and deleting them. Cheers, Yuval -Original Message- From: ZAROGKIKAS,GIORGOS [mailto:g.zarogki...@multirama.gr] Sent: Tuesday, July 13, 2010 11:28 AM To: solr-user@lucene.apache.org Subject: Locked Index files Hi My solr Index files a

RE: Distributed Indexing

2010-07-08 Thread Yuval Feinstein
Li, as far as I know, you still have to do this part yourself. A possible way to shard is to number the shards from 0 to numShards-1, calculate hash(uniqueKey)%numShards per each document, and send the document to the resulting shard number. This number is consistent and sends documents uniformly

RE: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Yuval Feinstein
Thanks again Ahmet and Erik. Turns out that this was calling the correct query parser all along. The real problem was a combination of the query cache and my hacking the query to enable BM25 scoring. When I use a standard BooleanQuery, this behaved as published. Now I have to understand how to twe

RE: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Yuval Feinstein
Thanks, Ahmet. Yes, my solrconfig.xml file is very similar to what you wrote. When I use &echoparams=all and defType=myqp, I get: hi all myqp However, when I do not use the defType (hoping it will be automatically Inserted from solrconfig), I get: hi all Can you see what I am doing wrong?

Making my QParserPlugin the default one, with cores

2010-06-08 Thread Yuval Feinstein
The definition myqp But running the same query without defType returned zero hits. It appears that the defType parameter is not being set by the request handler. Please tell me what I am doing wrong. TIA, Yuval Feinstein | IR & NLP Software Engineer [cid:image001.gif@01CB0718.70C417E0]&

RE: solr.solr.home

2010-05-27 Thread Yuval Feinstein
* Set the java system property solr.solr.home to your solr home. (On linux - use something like export solr.solr.home=/my/solr/home. On Windows - see http://vlaurie.com/computers2/Articles/environment.htm to set an environment variable named solr.solr.home .) (You can also use the two other op