lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269584#comment-13269584
] 

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: https://issues.apache.org/jira/browse/SOLR-3442
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


Mime
View raw message