lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SimpleFacetParameters" by Emmanuel Stalling
Date Mon, 12 Jan 2015 07:20:07 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SimpleFacetParameters" page has been changed by Emmanuel Stalling:
https://wiki.apache.org/solr/SimpleFacetParameters?action=diff&rev1=73&rev2=74

Comment:
Spelling corrections (differnet = different; eqivilent=equivalent; funtionality=functionality)

  
  When using Date Faceting, the {{{facet.date}}}, {{{facet.date.start}}}, {{{facet.date.end}}},
and {{{facet.date.gap}}} params are all mandatory...
  
- 
- ---- /!\ '''Edit conflict - other version:''' ----
- {X} '''NOTE:''' as of [[Solr3.1]] Date Faceting has been deprecated in favor of the more
general [[#rangefaceting|Range Faceting described below]].  The response structure is slightly
different, but the functionality is equivalent (except that it supports numeric fields as
well as dates)
+  '''NOTE:''' as of [[Solr3.1]] Date Faceting has been deprecated in favor of the more general
[[#rangefaceting|Range Faceting described below]].  The response structure is slightly different,
but the functionality is equivalent (except that it supports numeric fields as well as dates)
- 
- ---- /!\ '''Edit conflict - your version:''' ----
- {X} '''NOTE:''' as of [[Solr3.1]] Date Faceting has been deprecated in favor of the more
general [[#rangefaceting|Range Faceting described below]].  The response structure is slightly
different, but the functionality is equivalent (except that it supports numeric fields as
well as dates)
- 
- ---- /!\ '''End of edit conflict''' ----
  
  === facet.date ===
  This param allows you to specify names of fields (of type DateField) which should be treated
as date facets.
@@ -361, +354 @@

  
   * [1,10] -> will include values greater or equal to 1 and lower or equal to 10
  
- 
- ---- /!\ '''Edit conflict - other version:''' ----
  The initial and end values can't be empty, if the interval needs to be unbounded, the special
character '*' can be used for both, start and end limit. When using '*', '(' and '[', and
')' and ']' will be treated equal. [*,*] will include all documents with a value in the field.
The interval limits may be strings, there is no need to add quotes, all the text until the
comma will be treated as the start limit, and the text after that will be the end limit, for
example: [Buenos Aires, New York]. Keep in mind that a string-like comparison will be done
to match documents in string intervals (case-sensitive). The comparator can't be changed.
Commas, brackets and square brackets can be escaped by using '\' in front of them. Whitespaces
before and after the values will be omitted. Start limit can't be grater than the end limit.
Equal limits are allowed, this allows you to indicate the specific values that you want to
count, like [A,A], [B,B] and [C,Z].
  
- ---- /!\ '''Edit conflict - your version:''' ----
- The initial and end values can't be empty, if the interval needs to be unbounded, the special
character '*' can be used for both, start and end limit. When using '*', '(' and '[', and
')' and ']' will be treated equal. [*,*] will include all documents with a value in the field.
The interval limits may be strings, there is no need to add quotes, all the text until the
comma will be treated as the start limit, and the text after that will be the end limit, for
example: [Buenos Aires, New York]. Keep in mind that a string-like comparison will be done
to match documents in string intervals (case-sensitive). The comparator can't be changed.
Commas, brackets and square brackets can be escaped by using '\' in front of them. Whitespaces
before and after the values will be omitted. Start limit can't be grater than the end limit.
Equal limits are allowed, this allows you to indicate the specific values that you want to
count, like [A,A], [B,B] and [C,Z].
- 
- ---- /!\ '''End of edit conflict''' ----
  
  === Changing the interval Keys ===
  Similar than with facet queries, with Interval Faceting the keys of the intervals can be
changed by using the “key” LocalParam.

Mime
View raw message