lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul നോബിള്‍ नोब्ळ् <noble.p...@gmail.com>
Subject Re: DIH using values from solrconfig.xml inside data-config.xml
Date Tue, 03 Feb 2009 03:56:59 GMT
this syntax is supported /record/metadata/date[@qualifier='Date']. if
I am not wrong and there is a testcase also for that

On Tue, Feb 3, 2009 at 7:20 AM, Lance Norskog <goksron@gmail.com> wrote:
> A separate problem: when I used the DIH in December, the xpath
> implementation had few features.  '[@qualifier='Date']' may not be
> supported.
>
>  <field column="date" xpath="/record/metadata/date[@qualifier='Date']"
> dateTimeFormat="yyyyMMdd"   />
>
>
> On Mon, Feb 2, 2009 at 9:24 AM, Noble Paul നോബിള്‍ नोब्ळ् <
> noble.paul@gmail.com> wrote:
>
>> this patch must help
>>
>> On Mon, Feb 2, 2009 at 10:49 PM, Shalin Shekhar Mangar
>> <shalinmangar@gmail.com> wrote:
>> > On Mon, Feb 2, 2009 at 10:34 PM, Fergus McMenemie <fergus@twig.me.uk>
>> wrote:
>> >
>> >>
>> >> Is there some simple escape or other syntax to be used or is
>> >> this an enhancement?
>> >>
>> >
>> > I guess the problem is that we are creating the regex Pattern without
>> first
>> > resolving the variable. So we need to call VariableResolver.resolve on
>> the
>> > 'regex' attribute's value before creating the Pattern object.
>> >
>> > Please raise an issue for this change. Nice use-case though. I guess we
>> > never thought someone would need to use a variable in the regex attribute
>> :)
>> >
>> > --
>> > Regards,
>> > Shalin Shekhar Mangar.
>> >
>>
>>
>>
>> --
>> --Noble Paul
>>
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
> 650-922-8831 (US)
>



-- 
--Noble Paul

Mime
View raw message