Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "FieldAliasesAndGlobsInParams" page has been changed by HossMan. The comment on this change is: lang field overrides is another example usecase. http://wiki.apache.org/solr/FieldAliasesAndGlobsInParams?action=diff&rev1=7&rev2=8 -------------------------------------------------- * no way to prevent certain users from getting certain fields * no way to prevent faceting on certain fields * in most cases, searching and sorting on the same logical field requires clients to know two differenet field names (ie: "q=name:foo&sort=name_sortable+asc") + * configuring language specific overrides for some field names (ie: "q=title:foo+summary:bar&lang=fr" should cause the title_fr and summary_fr fields to be used) = Broad Idea = Add robust support for letting solr admins configure what special syntax or aliases can be used *at query type* to refer to fields based on context (sorting, returned fields, search fields, facet fields, etc...) @@ -38, +39 @@ * ie: "fl=name,importance" ... importance might be the score fields * "for this param, take any string that looks like a fieldname and append/prepend this string to it" * ie: any field name specified in the sort param can have "_sort" appended to it. + * "for this param, take any string that looks like a fieldname and append/prepend this other param to it" + * ie: any field name specified in the sort param can have "_sort" appended to it + * ie: any field name specified in the q param can have the value of the lang param appended via some syntax like "_$lang" * "for this param, alias this string to a regex or glob" * ie: "fl=stockFields&fl=priceFields&facet.field=catFields" might mean return all fields matching two configured regexes and facet on all fields related to categorization. * "allow users to specify globs for this param" or "allow users to specify regexes for this param"