On 2/9/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: The simplest form would be a term query with no escaping whatsoever:
:
: Something like:
: fq=<!term f='education_facet'>High School

I know yonik isn't a big fan of query param proliferation, and there's
definitely going to be a need for some kind of markup in the future to
denote which query syntax to use for different params, but if facetting
and filtering is driving a strong need for a simple way to filter on a
facet constraint term then perhaps a special param would make that easier
... in hte same way that "fq" is a filter query, perhaps "ft" can be a
filter term: no analysys, just split on the first ":" found, and make a
Term query using the LHS as the field name and the RHS as the term...

Yes, I don't like the proliferation, but...
ft=education_facet:High School
 is both simpler and 11 characters shorter than
fq=<!term f='education_facet'>High School

And I think term queries for filters are (or will be) very common in
Solr.  I think facet-related navigation isn't going to go away....  so
I guess I'm not opposed to ft in this case.
Anyone else have thoughts/alternatives?

-Yonik

Reply via email to