[
http://issues.apache.org/jira/browse/SOLR-43?page=comments#action_12430086 ]
Yonik Seeley commented on SOLR-43:
----------------------------------
Committed current version.
Left to do off the top of my head:
- deprecate methods dealing with params in PluginUtils
- change use of deprecated methods (including dismax handler)
- dismax handler: were to get defaults from solrconfig.xml... the base level,
or "defaults". If the latter, provide some backward compat for existing
configs?
Highlighter stuff:
- allow specification of markup
- allow fragsize per-field
- keep in mind recent highlighter work going on in Lucene... we should try and
specify what instead of how (not use exact class names, etc)
- start using "hl" namespace for highlighter params... this is just a
convention to help clarify the semantics of a parameter at a glance.
- for consistency, should "highlight" => "hl", "highlightFields" =>
"hl.fields" or "hl.fl", "maxSnippets" => "hl.snippets"?
Normally backward compatibility is very important for the external
interfaces, *but* things will change while a feature is in development... every
commit does not constitute a release. Is highlighting new enough that we can
change these parameters? Is anyone using these parameters in production where
it would be a burden if we changed these?
Examples of potential highlighter param names:
hl=true
hl.fl=name,title,body
hl.snippets=4
hl.fragsize=100
hl.formatter=simple
hl.simple.pre=<em>
hl.simple.post=</em>
And per field params:
f.title.hl.fragsize=0 // overrides fragsize only for field 'title'
> query parameter overhaul
> ------------------------
>
> Key: SOLR-43
> URL: http://issues.apache.org/jira/browse/SOLR-43
> Project: Solr
> Issue Type: New Feature
> Reporter: Yonik Seeley
> Assigned To: Yonik Seeley
> Attachments: solrparams.patch, solrparams.patch
>
>
> Goals:
> - per field parameters that fall back to global values
> - defaults in solrconfig.xml per request handler, overridable per
> This is desirable for highlighting additions:
> http://issues.apache.org/jira/browse/SOLR-37
> last email thread:
> http://www.nabble.com/parameter-defaults-and-config-tf2020863.html#a5556298
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira