You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/06/08 07:54:01 UTC
[Solr Wiki] Trivial Update of "SolrFacetingOverview" by JohnClarkeMills
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by JohnClarkeMills:
http://wiki.apache.org/solr/SolrFacetingOverview
The comment on the change is:
clarifying by adding more facets with GET parameter examples
------------------------------------------------------------------------------
As an example, if I had a field with a list of authors, such as:
- Schildt, Herbert; Wolpert, Lewis; Davies, P.
+ ''Schildt, Herbert; Wolpert, Lewis; Davies, P.''
I might want to index the same data differently in three different fields (perhaps using the Solr [:SchemaXml#Copy Fields:copyField] directive):
* For searching: Tokenized, case-folded, punctuation-stripped:
@@ -27, +27 @@
* For faceting: Primary author only, using a `solr.StringField`:
Schildt, Herbert
- Then when the user drills down on the "Schildt, Herbert" string I would reissue the query with an added fq="Schild, Herbert" parameter.
+ Then when the user drills down on the "Schildt, Herbert" string I would reissue the query with an added fq="Schild, Herbert" parameter. If you wanted to "drill down" or query by multiple authors you would add more 'fq' parameters as needed, i.e. 'fq=Schield, Herbet&fq=Wolpert, Lewis".
= Facet Operation =