Re: First steps with Solr

2012-03-27 Thread Erik Hatcher
Note that the VelocityResponseWriter puts a tool in the context to escape various things. See the "Velocity Context" section here: . That'll take you to this You can do

Re: First steps with Solr

2012-03-27 Thread Marcelo Carvalho Fernandes
I've had the same problem and my solution was to... #set($pName = "#field('name')") #set($pName = $pName.trim()) Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Mon, Mar 26, 2012 at 3:24 PM, henri.gour...@laposte.net < henri.gour...@laposte.net> wrote: > trying to play wit

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 *