Regex with local params is not working

2014-05-27 Thread Lokn
Hi, With solr local params, the regex is not working. My sample query: q ={!qf=$myfield_qf}/[a-d]ad/, where I have myfield_qf defined in the solrconfig.xml. Any help here would be appreciated. Thanks, Lokesh -- View this message in context:

Re: Regex with local params is not working

2014-05-27 Thread Lokn
Thanks for the reply. I am using edismax for the query parsing. Still it's not working. Instead of using local params, if I use the field directly then regex is working fine. Thanks, Lokesh -- View this message in context:

Re: Regex with local params is not working

2014-05-27 Thread Lokn
I tried with debug on, solr generates disjunctionmaxquery instead of regexquery. Is there something that I need to add to the query? Thanks, Lokesh -- View this message in context: http://lucene.472066.n3.nabble.com/Regex-with-local-params-is-not-working-tp4138257p4138373.html Sent from the

RE: SOLR DIH - Sub Entity with different datasource not working

2013-12-16 Thread Lokn
Thanks for the reply. The error shows it is not able to execute the query. In my case, if you see my config file I am joining the entities between two different datasources.. i.e., Entity1 - Datasource1 --Subentity - DataSource2 My doubt is, can we join the entities in two different

SOLR DIH - Sub Entity with different datasource not working

2013-12-13 Thread Lokn
Hi, I have the data-config.xml with 2 data sources and the entity and sub sub-entity connecting to datasource1 and datasource2 respectively. When I do the full import, it is giving an error, Exception : org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to execute query: This