lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <g...@mimirtech.com>
Subject Re: Field Names
Date Tue, 11 Jun 2013 02:09:30 GMT
On 11 June 2013 07:24, PeriS <pvsubrah@indiana.edu> wrote:
>
> I was wondering if there was a way to define field names that are more less dynamic in
nature but follow a regular expression pattern. I know you can have asterisk either as a prefix
or a suffix but not both or somewhere int he middle of a name.
>

No. As http://wiki.apache.org/solr/SchemaXml#Dynamic_fields notes
"*" can appear only at the beginning or the end.

> Goal: to define a field that takes up the form like 10*_* which would translate to 100_whatever
thru 109_whatever; Any ideas please?

What is wrong with, e.g.,
<dynamicField name="10*whatever"  type="integer"  indexed="true"
stored="true"/>

Regards,
Gora

Mime
View raw message