lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky (JIRA)" <>
Subject [jira] [Commented] (SOLR-3442) Example schema switch to DisMax instead of CopyField
Date Mon, 07 May 2012 12:58:51 GMT


Jack Krupansky commented on SOLR-3442:

Maybe Solr has outgrown the concept of a single example schema/config. "Full function" and
"maximal performance" conflict to some degree and picking one arbitrary point on the design
spectrum does a disservice for those who have varying requirements. The current example already
has performance tips and a warning advisory not to use it for benchmarking. And SolrCell documents
having "core", common metadata is somewhat distinct from full-custom schema design.

The copyField to "text" pattern is more clearly targeted at non-dismax users, where "text"
is the single default search field.

This issue essentially raises the question: Is non-dismax query parsing dead? If not, the
copyField/text pattern still seems relevant.

Maybe it would be worth having a modest library of schema/config files that the user can select
from when running "example". OTOH, maintaining a lot of somewhat similar files can be a pain.
A way to configure the schema/config files (conditionals) would be helpful.

> Example schema switch to DisMax instead of CopyField
> ----------------------------------------------------
>                 Key: SOLR-3442
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Jan H√łydahl
>              Labels: dismax
> Spinoff from SOLR-3439:
> The use of copyField in todays example schema is an anti pattern since we indirectly
teach people to duplicate most of their content, while most would be better off using DisMax,
or at least a combination.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message