You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jason Toy <ja...@gmail.com> on 2011/09/24 00:14:08 UTC
what are the disdvantages of using dynamic fields?
Hi all,
I'd like to know what the specific disadvantages are for using dynamic
fields in my schema are? About half of my fields are dynamic, but I could
move all of them to be static fields. WIll my searches run faster? If there
are no disadvantages, can I just set all my fields to be dynamic?
Jason
Re: what are the disdvantages of using dynamic fields?
Posted by Erick Erickson <er...@gmail.com>.
There are really no differences between dynamic and static
fields performance-wise that I know of.
Personally, though, I tend to prefer static over dynamic from
a maintenance/debugging perspective. At issue is tracking
down why results weren't as expected, then spending several
days discovering that I managed to mis-spell some field
in my docs, in my SolrJ program or in my queries. A variant
of the "fail early" notion.
Dynamic fields have great uses, but I think you're better off
using static when possible.
Best
Erick
On Fri, Sep 23, 2011 at 3:14 PM, Jason Toy <ja...@gmail.com> wrote:
> Hi all,
>
> I'd like to know what the specific disadvantages are for using dynamic
> fields in my schema are? About half of my fields are dynamic, but I could
> move all of them to be static fields. WIll my searches run faster? If there
> are no disadvantages, can I just set all my fields to be dynamic?
>
> Jason
>