Re: SolrCloud war context name?
Why not using multicore? Marcelo Carvalho Fernandes +55 21 8272-7970 On Sat, May 26, 2012 at 12:56 PM, Darren Govoni ontre...@ontrenet.comwrote: Hi, I am running my solrcloud nodes in an app server deployed into the context path 'solr' and zookeeper sees all of them. I want to deploy a second solrcloud war into the same app server (thus same IP:port) in a different context like 'solrrep' with the same config (cloned). Will this work? Or does zookeeper (or solrcloud leader) require all connected solr shards to have context url with ip:port/solr? Or will the correct URL be registered from the replica shard? thanks!
Re: SolrCloud war context name?
Hi Darren, You just need to do the following things in general to go multicore: 1. Use the folder *SOLR_INSTALL_DIR\example\multicore\core1* and * SOLR_INSTALL_DIR\example\multicore\core2* as they were your actual * SOLR_INSTALL_DIR\example\solr*. 2. Check if SOLR_INSTALL_DIR\multicore\solr.xml exists and it has the element cores adminPath=/admin/cores uncomented; 3. Change solr.war's application Context with Environment name=solr/home type=java.lang.String value=* SOLR_INSTALL_DIR\\example\\multicore* override=true/ 4. http://localhost:8080/solr/ should show two links: *Solr Admin core0* and *Solr Admin Core1*. Of course more cutomizations are avilable. This is just the simplest thing to do. Let me know if it works. Marcelo Carvalho Fernandes +55 21 8272-7970 On Sat, May 26, 2012 at 5:45 PM, Darren Govoni dar...@ontrenet.com wrote: It's not really clear from the wiki how to use cores as shard replicas within the same solr server. In my mind, having a separate JVM/solr node/ acting as a replica makes sense because the replication traffic will be on a different channel in a different vm and won't interfere with search/indexing traffic on the primary shards. Or am I missing something easy about using cores with solr cloud? It was mentioned on the list recently that managing cores with solrcloud isn't really the best practice for it. On Sat, 2012-05-26 at 16:12 -0300, Marcelo Carvalho Fernandes wrote: Why not using multicore? Marcelo Carvalho Fernandes +55 21 8272-7970 On Sat, May 26, 2012 at 12:56 PM, Darren Govoni ontre...@ontrenet.com wrote: Hi, I am running my solrcloud nodes in an app server deployed into the context path 'solr' and zookeeper sees all of them. I want to deploy a second solrcloud war into the same app server (thus same IP:port) in a different context like 'solrrep' with the same config (cloned). Will this work? Or does zookeeper (or solrcloud leader) require all connected solr shards to have context url with ip:port/solr? Or will the correct URL be registered from the replica shard? thanks!
Re: Solritas in production
Nothing against PHP. My suggestion is toward a simpler architecture and a fast go-live. I'm not suggesting Andreas to go-live with Solritas as it is. Of course there is some work to be done before doing it and I think this work would be faster and would take him to a simpler architecture than setting up and developing a PHP layer. Why add something new if what you have can be easily customized? Maybe we could create a to do list in order to start thinking of going live with Solritas: - if you are going to use a DIH with a database do not let the database configuration plain in data-config.xml. Let data-config.xml references a jndi of your database config. - in order to restrict access to the Solr admin interface, change authentication configuration in the solr war's web.xml.ve - have in mind that Solritas uses a template system (Velocity). It is limited in the way you wont be able to build backend processing with it. - fell free to customize Solritas layout using CSS3, HTML5, ajax and all client side stuff. - consider using and Apache httpd as a reverse proxy to restrict direct access to your solritas. -if you have a high traffic landing on you solritas, consider having a Varnish in front of it. Anything else? What do you think? - Marcelo Carvalho Fernandes On 7 May 2012 06:51, Jan Høydahl jan@cominvent.com wrote: Hi, Like wunder said, restricting URLs still requires physical access to the app-server, and there are a handful of ways to cause harm which you may not be aware of. The argument he would not need to develop a PHP site/application is not true. Solritas is far from ready for production, and not intended to either. Even if you moved the Solritas code to another Tomcat instance to avoid direct Solr access, you would still need to put extensive development effort into the Solritas templates before you could call it a finished search front end. What is so bad with PHP after all? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 7. mai 2012, at 02:50, Marcelo Carvalho Fernandes wrote: Hi Jan, I would answer András exactly the oposite :-) I would like to understand and ask you something. Would you see any problem if he had a Apache Httpd configured as reverse proxy (no PHP in it) in front of Solr just to restrict user access to only the Solritas's URL? This way Solr would not be directly exposed and he would not need to develop a PHP site/application. Maybe a Varnish layer would be even better as he has 1.000.000+ pageviews a day. Again, no PHP in this scenario. What's your opinion about both solutions? Thanks in advance, Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Sun, May 6, 2012 at 7:42 PM, Jan Høydahl jan@cominvent.com wrote: Hi, Solritas (Velocity Response Writer) is NOT intended for production use. The simple reason, apart from that it is not production grade quality, is that it requires direct access to the Solr instance, as it is simply a response writer. You MUST use a separate front end layer above Solr and never expose Solr directly to the world. So you should feel totally comfortable continuing to use Solr over HTTP from PHP! -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 6. mai 2012, at 14:02, András Bártházi wrote: Hi, We're currently evaluating Solr as a Sphinx replacement. Our site has 1.000.000+ pageviews a day, it's a real estate search engine. The development is almost done, and it seems to be working fine, however some of my colleagues come with the idea that we're using it wrong. We're using it as a service from PHP/Symfony. They think we should use Solritas as a frontend, so site visitors will directly use it, so no PHP will be involved, so it will be use much less infrastructure. One of them said that even mobile.de using it that way (I have found no clue about it at all). Do you think is it a good idea? Do you know services using Solritas as a frontend on a public site? My personal opinion is that using Solritas in production is a very bad idea for us, but have not so much experience with Solr yet, and Solritas documentation is far from a detailed, up-to-date one, so don't really know what is it really usable for. Thanks, Andras
Re: Solritas in production
Hi Jan, I would answer András exactly the oposite :-) I would like to understand and ask you something. Would you see any problem if he had a Apache Httpd configured as reverse proxy (no PHP in it) in front of Solr just to restrict user access to only the Solritas's URL? This way Solr would not be directly exposed and he would not need to develop a PHP site/application. Maybe a Varnish layer would be even better as he has 1.000.000+ pageviews a day. Again, no PHP in this scenario. What's your opinion about both solutions? Thanks in advance, Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Sun, May 6, 2012 at 7:42 PM, Jan Høydahl jan@cominvent.com wrote: Hi, Solritas (Velocity Response Writer) is NOT intended for production use. The simple reason, apart from that it is not production grade quality, is that it requires direct access to the Solr instance, as it is simply a response writer. You MUST use a separate front end layer above Solr and never expose Solr directly to the world. So you should feel totally comfortable continuing to use Solr over HTTP from PHP! -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 6. mai 2012, at 14:02, András Bártházi wrote: Hi, We're currently evaluating Solr as a Sphinx replacement. Our site has 1.000.000+ pageviews a day, it's a real estate search engine. The development is almost done, and it seems to be working fine, however some of my colleagues come with the idea that we're using it wrong. We're using it as a service from PHP/Symfony. They think we should use Solritas as a frontend, so site visitors will directly use it, so no PHP will be involved, so it will be use much less infrastructure. One of them said that even mobile.de using it that way (I have found no clue about it at all). Do you think is it a good idea? Do you know services using Solritas as a frontend on a public site? My personal opinion is that using Solritas in production is a very bad idea for us, but have not so much experience with Solr yet, and Solritas documentation is far from a detailed, up-to-date one, so don't really know what is it really usable for. Thanks, Andras
Re: need help to integrate SolrJ with my web application.
Hi Vijaya, Why not just making standard http calls to Solr as it was a RESTful Service? Just use a HTTP/REST Client on Spring, ask solr to return Json responses and get rid of all those war dependencies of SolrJ --- Marcelo On Monday, April 16, 2012, Ben McCarthy ben.mccar...@tradermedia.co.uk wrote: Hello, When I have seen this it usually means the SOLR you are trying to connect to is not available. Do you have it installed on: http://localhost:8080/solr Try opening that address in your browser. If your running the example solr using the embedded Jetty you wont be on 8080 :D Hope that helps -Original Message- From: Vijaya Kumar Tadavarthy [mailto:vijaya.tadavar...@ness.com] Sent: 16 April 2012 12:15 To: 'solr-user@lucene.apache.org' Subject: need help to integrate SolrJ with my web application. Hi All, I am trying to integrate solr with my Spring application. I have performed following steps: 1) Added below list of jars to my webapp lib folder. apache-solr-cell-3.5.0.jar apache-solr-core-3.5.0.jar apache-solr-solrj-3.5.0.jar commons-codec-1.5.jar commons-httpclient-3.1.jar lucene-analyzers-3.5.0.jar lucene-core-3.5.0.jar 2) I have added Tika jar files for processing binary files. tika-core-0.10.jar tika-parsers-0.10.jar pdfbox-1.6.0.jar poi-3.8-beta4.jar poi-ooxml-3.8-beta4.jar poi-ooxml-schemas-3.8-beta4.jar poi-scratchpad-3.8-beta4.jar 3) I have modified web.xml added below setup. filter filter-nameSolrRequestFilter/filter-name filter-classorg.apache.solr.servlet.SolrDispatchFilter/filter-class /filter filter-mapping filter-nameSolrRequestFilter/filter-name url-pattern/dataimport/url-pattern /filter-mapping servlet servlet-nameSolrServer/servlet-name servlet-classorg.apache.solr.servlet.SolrServlet/servlet-class load-on-startup1/load-on-startup /servlet servlet servlet-nameSolrUpdate/servlet-name servlet-classorg.apache.solr.servlet.SolrUpdateServlet/servlet-class load-on-startup2/load-on-startup /servlet servlet servlet-nameLogging/servlet-name servlet-classorg.apache.solr.servlet.LogLevelSelection/servlet-class /servlet servlet-mapping servlet-nameSolrUpdate/servlet-name url-pattern/update/*/url-pattern /servlet-mapping servlet-mapping servlet-nameLogging/servlet-name url-pattern/admin/logging/url-pattern /servlet-mapping I am trying to test this setup by running a simple java program with extract content of MS Excel file as below public SolrServer createNewSolrServer() { try { // setup the server... String url = http://localhost:8080/solr;; CommonsHttpSolrServer s = new CommonsHttpSolrServer( url ); s.setConnectionTimeout(100); // 1/10th sec s.setDefaultMaxConnectionsPerHost(100); s.setMaxTotalConnections(100); // where the magic happens s.setParser(new BinaryResponseParser()); s.setRequestWrit This e-mail is sent on behalf of Trader Media Group Limited, Registered Office: Auto Trader House, Cutbush Park Industrial Estate, Danehill, Lower Earley, Reading, Berkshire, RG6 4UT(Registered in England No. 4768833). This email and any files transmitted with it are confidential and may be legally privileged, and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This email message has been swept for the presence of computer viruses. -- Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
remoteLink that change it's text
Hi! I have the following gsp code... g:each in=${productInstanceList} status=i var=productInstance !-- display product properties ommited -- g:remoteLink action=addaction id=${i} update=[success:'what-to-put-here',failure:'error'] on404=alert('not found'); Select this product /g:remoteLink /g:each How to have each remoteLink to change it's Select this product text to what addaction renders? The problem I'm facing is that I don't know what to put in 'what-to-put-here ' in order to achieve that. Of course, I'm new to gsp tags. Any idea? Thanks in advance, Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
Re: remoteLink that change it's text
Sorry! Wrong list! Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Fri, Apr 13, 2012 at 10:54 PM, Marcelo Carvalho Fernandes mcf2...@gmail.com wrote: Hi! I have the following gsp code... g:each in=${productInstanceList} status=i var=productInstance !-- display product properties ommited -- g:remoteLink action=addaction id=${i} update=[success:'what-to-put-here',failure:'error'] on404=alert('not found'); Select this product /g:remoteLink /g:each How to have each remoteLink to change it's Select this product text to what addaction renders? The problem I'm facing is that I don't know what to put in ' what-to-put-here' in order to achieve that. Of course, I'm new to gsp tags. Any idea? Thanks in advance, Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
Re: Python and solr - Should I give up on this?
Don't forget you can alway access Solr using HTTP calls. You don't need any specific Solr client. That of course will depend on the level of integration you want because in some cases you'll need to make the calls for your own. Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Sun, Apr 8, 2012 at 3:19 AM, K Wong wongo...@gmail.com wrote: Have you looked at Django Haystack? What are you trying to do? What have you looked at? How are the existing methods not meeting your needs? Java is a good web development language if you are evaluating your language options. K On Sat, Apr 7, 2012 at 8:51 PM, Spadez james_will...@hotmail.com wrote: Hi. Python is becoming an extremely popular language for web programming but the official python-solr interface isn't included since 1.3 and a lot of the ones on the web seem good but not production worthy yet, like mysolr. Can solr be used with python in a production environment or will I be forced to use something like PHP? That would be a shame. James
Re: alt attribute img tag
Hi Manuel, Why don't you create a program to parse the html files, maybe using xslt, and them submit the output to Solr? --- Marcelo On Thursday, April 5, 2012, Manuel Antonio Novoa Proenza mano...@estudiantes.uci.cu wrote: Hello, I would like to know the method of extracting from the images that are in html documents Alt attribute data 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION http://www.uci.cu http://www.facebook.com/universidad.uci http://www.flickr.com/photos/universidad_uci -- Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
Re: index the links having a certain website
Hi Manuel, Do you mean you need to index html files? What kind of search do you image doing? --- Marcelo Carvalho Fernandes On Friday, March 30, 2012, Manuel Antonio Novoa Proenza mano...@estudiantes.uci.cu wrote: Hello I'm not good with English, and therefore I had to resort to a translator. I have the following question ... How I can index the links having a certain website ? regards ManP 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION http://www.uci.cu http://www.facebook.com/universidad.uci http://www.flickr.com/photos/universidad_uci -- Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
Re: Position Solr results
Try using the score field in the search results. --- Marcelo Carvalho Fernandes On Friday, March 30, 2012, Manuel Antonio Novoa Proenza mano...@estudiantes.uci.cu wrote: Hi I'm not good with English, and for this reason I had to resort to a translator. I have the following question ... How I can get the position in which there is a certain website in solr results generated for a given search criteria ? regards ManP 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION http://www.uci.cu http://www.facebook.com/universidad.uci http://www.flickr.com/photos/universidad_uci -- Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
Re: First steps with Solr
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 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: Indexing Source Code
Hi Bastian, Can you please tell us what kind of search you imagine doing with some (use case) examples? Marcelo On Monday, March 26, 2012, Bastian H arbeit.bast...@googlemail.com wrote: Hi, I like to index my Source Code - the most is Cobol, Asembler and Java - with Solr. I don't know where to start... I think I need to parse it to get XML for Solr. Do I need Tinka? Is there any Parser I could use? I want to index functions, variables and function calls as well as commentaries. Can somebody show me to a starting point? Thanks Bastian -- Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
Re: Faceted range based on float within velocity not working properly
Hi all! I have just solved the problem but I'm not sure if that would be nice to commit to Solr repository. How do I go about having this patch approved? The changed file is VM_global_library.vm and the changed code is highlighted as yellow in the following.. #macro(range_get_to_value $inval, $gapval) #if(${gapval.class.name} == java.lang.String) $inval$gapval## #elseif(${gapval.class.name} == java.lang.Float || ${inval.class.name} == java.lang.Float) #if(${gapval.class.name} == java.lang.Float) #set($inval2 = $math.toDouble($inval.replace(.,,))) #set($gapval2 = $gapval) #else #set($inval2 = $inval) #set($gapval2 = $math.toDouble($gapval2.replace(.,,))) #end $math.toDouble($math.add($gapval,$inval2))## #else $math.add($inval,$gapval)## #end #end Thanks in advance. Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Fri, Mar 23, 2012 at 8:13 AM, Marcelo Carvalho Fernandes mcf2...@gmail.com wrote: I went deeper in the problem and discovered that... $math.toInteger(10.1) returns 101 $math.toInteger(10,1) returns 10 Although I'm using Strings in the previous examples, I have a Float variable from Solr. I'm not sure if it is just a Solr problem, just a Velocity problema or somewhere between them. May it be something related to my local/regional settings or so? I ask that because in BRL (Brazilian Real) the currency format we use is something line R$1.234,56. Any idea? Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Thu, Mar 22, 2012 at 3:14 PM, Marcelo Carvalho Fernandes mcf2...@gmail.com wrote: Hi all! I'm using Apache Solr 3.5.0 with Tomcat 6.0.32. My schema.xml has a price field declared as... field name=*preco* type=*float* indexed=true stored=true required=false / My solrconfig.xml has a a velocity RequestHandler (/browser)) that has the following facet... str name=facet.range*preco*/str int name=f.*preco*.facet.range.start0/int int name=f.*preco*.facet.range.end100/int int name=f.*preco*.facet.range.gap10/int ...and I'm using the default templates in SolrDIR\example\solr\conf\velocity . The problem is that each peace of range that is being generated has a wrong upper bound. For example, instead of... 0 -10 10 - 20 20 - 30 30 - 40 ... ...what is being generated is... 0 - 10 10 - 110 20 - 210 30 - 310 ... I've studied the #display_facet_range macro in VM_global_library.vm and it looks like the $math.add is contatenating the two operands insted of producing a sum. I mean, insted of 10+10=20 it returns 110, instead of 20+10=30 it returns 210. Any idea what is the problem? Thanks in advance, Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
Re: Faceted range based on float within velocity not working properly
Just to let you know that there can't have any spaces in the begining of a line code. That leads us to... #macro(range_get_to_value $inval, $gapval) #if(${gapval.class.name} == java.lang.String) $inval$gapval## #elseif(${gapval.class.name} == java.lang.Float || ${inval.class.name} == java.lang.Float) #if(${gapval.class.name} == java.lang.Float) #set($inval2 = $math.toDouble($inval.replace(.,,))) #set($gapval2 = $gapval) #else #set($inval2 = $inval) #set($gapval2 = $math.toDouble($gapval2.replace(.,,))) #end $math.toDouble($math.add($gapval,$inval2))## #else $math.add($inval,$gapval)## #end #end Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Sat, Mar 24, 2012 at 9:12 AM, Marcelo Carvalho Fernandes mcf2...@gmail.com wrote: Hi all! I have just solved the problem but I'm not sure if that would be nice to commit to Solr repository. How do I go about having this patch approved? The changed file is VM_global_library.vm and the changed code is highlighted as yellow in the following.. #macro(range_get_to_value $inval, $gapval) #if(${gapval.class.name} == java.lang.String) $inval$gapval## #elseif(${gapval.class.name} == java.lang.Float || ${inval.class.name} == java.lang.Float) #if(${gapval.class.name} == java.lang.Float) #set($inval2 = $math.toDouble($inval.replace(.,,))) #set($gapval2 = $gapval) #else #set($inval2 = $inval) #set($gapval2 = $math.toDouble($gapval2.replace(.,,))) #end $math.toDouble($math.add($gapval,$inval2))## #else $math.add($inval,$gapval)## #end #end Thanks in advance. Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Fri, Mar 23, 2012 at 8:13 AM, Marcelo Carvalho Fernandes mcf2...@gmail.com wrote: I went deeper in the problem and discovered that... $math.toInteger(10.1) returns 101 $math.toInteger(10,1) returns 10 Although I'm using Strings in the previous examples, I have a Float variable from Solr. I'm not sure if it is just a Solr problem, just a Velocity problema or somewhere between them. May it be something related to my local/regional settings or so? I ask that because in BRL (Brazilian Real) the currency format we use is something line R$1.234,56. Any idea? Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Thu, Mar 22, 2012 at 3:14 PM, Marcelo Carvalho Fernandes mcf2...@gmail.com wrote: Hi all! I'm using Apache Solr 3.5.0 with Tomcat 6.0.32. My schema.xml has a price field declared as... field name=*preco* type=*float* indexed=true stored=true required=false / My solrconfig.xml has a a velocity RequestHandler (/browser)) that has the following facet... str name=facet.range*preco*/str int name=f.*preco*.facet.range.start0/int int name=f.*preco*.facet.range.end100/int int name=f.*preco*.facet.range.gap10/int ...and I'm using the default templates in SolrDIR\example\solr\conf\velocity . The problem is that each peace of range that is being generated has a wrong upper bound. For example, instead of... 0 -10 10 - 20 20 - 30 30 - 40 ... ...what is being generated is... 0 - 10 10 - 110 20 - 210 30 - 310 ... I've studied the #display_facet_range macro in VM_global_library.vm and it looks like the $math.add is contatenating the two operands insted of producing a sum. I mean, insted of 10+10=20 it returns 110, instead of 20+10=30 it returns 210. Any idea what is the problem? Thanks in advance, Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786
Re: Faceted range based on float within velocity not working properly
I went deeper in the problem and discovered that... $math.toInteger(10.1) returns 101 $math.toInteger(10,1) returns 10 Although I'm using Strings in the previous examples, I have a Float variable from Solr. I'm not sure if it is just a Solr problem, just a Velocity problema or somewhere between them. May it be something related to my local/regional settings or so? I ask that because in BRL (Brazilian Real) the currency format we use is something line R$1.234,56. Any idea? Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786 On Thu, Mar 22, 2012 at 3:14 PM, Marcelo Carvalho Fernandes mcf2...@gmail.com wrote: Hi all! I'm using Apache Solr 3.5.0 with Tomcat 6.0.32. My schema.xml has a price field declared as... field name=*preco* type=*float* indexed=true stored=true required=false / My solrconfig.xml has a a velocity RequestHandler (/browser)) that has the following facet... str name=facet.range*preco*/str int name=f.*preco*.facet.range.start0/int int name=f.*preco*.facet.range.end100/int int name=f.*preco*.facet.range.gap10/int ...and I'm using the default templates in SolrDIR\example\solr\conf\velocity . The problem is that each peace of range that is being generated has a wrong upper bound. For example, instead of... 0 -10 10 - 20 20 - 30 30 - 40 ... ...what is being generated is... 0 - 10 10 - 110 20 - 210 30 - 310 ... I've studied the #display_facet_range macro in VM_global_library.vm and it looks like the $math.add is contatenating the two operands insted of producing a sum. I mean, insted of 10+10=20 it returns 110, instead of 20+10=30 it returns 210. Any idea what is the problem? Thanks in advance, Marcelo Carvalho Fernandes +55 21 8272-7970 +55 21 2205-2786