> if this is using solr facets, will that make it challenging later to extend 
> this to custom fields? 

I think it should be pretty straightforward, since Allura adds custom fields to 
solr index already, and we can easily make facets queries for them.

> And are we compounding complexity by adding filtering to both solr & mongo 
> views? 

A little bit. And it's somewhat obscure for users, I think. If you enable a 
filter in such a view, some tickets, which match that filter, but not indexed 
yet, will disappear.

> Few things I noticed so far: after you filter down on a facet, you don't have 
> any way to change the values for that facet (or clear them).

If you uncheck a checkbox for corresponding facet and re-submit, then you will 
get back all the other values in options. 

This is because the way we query solr (one query to both filter and get facets 
counts). 

 I think it would be better if we update filtering results via ajax whenever 
user changes filter, but it more work and maybe we can get to that later.

> Also when on a milestone view, the facet choices for status aren't correct 
> (at least on my test project).

Hmm, could you specify how exactly?  Are you sure that all tickets have been 
indexed?


---

** [tickets:#4019] Add an easy way to filter ticket queries by open/closed 
without knowing Solr syntax**

**Status:** code-review
**Labels:** 42cc 
**Created:** Fri Apr 06, 2012 01:04 PM UTC by Patrick Lenz
**Last Updated:** Fri Dec 20, 2013 10:09 PM UTC
**Owner:** nobody

If you search from the "Search Tickets" form in the upper left and get an 
overwhelming number of results, it often times helps to just weed out either 
open or closed tickets (depending what you're looking for). I'd love a way to 
just add that filter with a click instead of redoing the search all over 
remembering the appropriate Solr syntax and whether or not I need to add `&&`.


---

Sent from sourceforge.net because [email protected] is subscribed 
to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to