lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Ferret's changes
Date Tue, 10 Oct 2006 13:42:21 GMT
On 10/10/06, David Balmain <dbalmain.ml@gmail.com> wrote:
> On 10/10/06, Grant Ingersoll <gsingers@apache.org> wrote:
> > I would be interested in another survey, this time about how many
> > people use a fixed set of Fields in their applications.  The large
> > majority of mine do.  I know SOLR supports dynamic fields, but I
> > wonder how much they are used.  If there truly is a benefit to it,
> > then perhaps we can have an implementation that can utilize them.
>
> I'd be interested to see that too. I'm not sure how you would define
> dynamic fields though. In Ferret fields have fixed properties once
> they are added to an index. If create a stored field then you can't
> decide not to store it at a later date. But you can add new fields to
> the index whenever you like. Anyway, I just wanted to clarify that.

That's the type of dynamic fields that Solr supports.

Solr needs to know the "type" of any given field.  To avoid having to
define all fields ahead of time, one can define a mapping between
field-name patters like  *_i to a type, so any field that ends with _i
not already in the schema will use the mapped type.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message