Re: UTF-8 encoding

2012-03-30 Thread henri.gour...@laposte.net
Paul, velocity.properties are set. One thing I am not 100% sure about is where this file should reside? I have placed in in the example/solr/conf/velocity folder (where the .vm files reside). Cheers, Henri -- View this message in context: http://lucene.472066.n3.nabble.com/UTF-8-encoding-tp386

Re: UTF-8 encoding

2012-03-29 Thread henri.gour...@laposte.net
OK, Ill try to provide more details: I am using solr-3.5.0 I am running the example provided in the package. Some of the modifications I have done in the various velocity/*.vm files have accents! It is those accents that show up garbled when I look at the results. The .vm files are utf-8 encoded. S

Re: UTF-8 encoding

2012-03-29 Thread henri.gour...@laposte.net
Thanks for the tips, but unfortunately, no progress so far. Reading through the Web, I guess that jetty has utf-8 problems! I guess that I will have to switch from the embedded (and pre installed -> easy) jetty server present in Solr in favor of Tomcat (for which I have to rediscover the installati

UTF-8 encoding

2012-03-29 Thread henri.gour...@laposte.net
I cant get utf-8 encoding to work!! I havetext/html;charset=UTF-8 in my request handler, and input.encoding=UTF-8 output.encoding=UTF-8 in velocity.properties, in various locations (I may have the wrong ones! at least in the folder where the .vm files reside) What else should I be doing

Velocity substring issue

2012-03-28 Thread henri.gour...@laposte.net
The following code fails on the $bdte1 substring. Both $bdte and $bdte1 appear to be identical! triggers the following error message: The problem persiste with various values of the indices. Am I missing something? -- View this message in context: http://lucene.472066.n3.nabble.com/Velocity-su

Re: First steps with Solr

2012-03-26 Thread henri.gour...@laposte.net
trying to play with javascript to clean-up my URL!! Context is velocity Suggestions? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/First-steps-with-Solr-tp3858406p3858959.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: First steps with Solr

2012-03-26 Thread henri.gour...@laposte.net
Partially solved problem! I am playing with the doc.vm file in the velocity folder. I have replaced where access is the value or the URL I want. problem is that someone seems to insert spaces (%20) between * Chausey? and #field('access') resulting into an invalid query. Everthing else seems O

Re: First steps with Solr

2012-03-26 Thread henri.gour...@laposte.net
Partially solved problem! I am playing with the doc.vm file in the velocity folder. I have replaced *#field('name')* by * http://127.0.0.1:2317/Chausey?#field('access') #field('name') * where access is the value or the URL I want. problem is that someone seems to insert spaces (%20) between *

First steps with Solr

2012-03-26 Thread henri.gour...@laposte.net
Hi, I have been exploring Solr through the example provided. I have created my own set of documents, and can start to index and query using the Solritas GUI. Two questions: 1/ I would like to have the "name" field to contain a URL to another server on my machine. When I put " text " inside t