lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (388J)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: SOLR-1131 - Multiple Fields per Field Type
Date Sun, 29 Nov 2009 01:33:26 GMT
Hey Hoss, 

On 11/28/09 4:37 PM, "Chris Hostetter" <hossman_lucene@fucit.org> wrote:

> One thing that concerns me is potential field name collision -- where one
> of these new multifield producing FieldTypes might want to creat a name
> that happens to collide with a field the user has already declared.

Since FieldTypes are provided an instance of o.a.solr.schema.IndexScehma,
couldn't these special MultiFieldTypes just call #getFieldOrNull(fieldName)
to find out if an internal field they want to name is available in the
schema namespace?

Cheers,
Chris


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: Chris.Mattmann@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




Mime
View raw message