Array Value Url Queries
I
have written some articles on Solr and even more on AngularJs however
when it comes to URL queries, I think a lot of production solutions
do the opposite of what I'm about to suggest. I think the simpler
approach is better and if major companies looked at their solution
might find that their UI to be over cumbersome. I think if a URL is
public it should be straightforward with what its values mean. This
gives advanced users the ability to directly navigate and novice the
ability to bookmark urls.
The
problem with facets in search grid is that you have a limited number
characters you can use. This is less of a problem in a post form but
you won't get link for your novice users. I don't like the idea of a
"bookmark button" - style UI where it provides the users
with a guid that is unique to their search. So a get method approach
is more appropriate for the behavior we want. At one point I thought
it would be necessary for guid value kind of system. Where the all
facets are set up to a single value and all possible outcomes are
based on the number system. However with all my designed I ask WHY,
and from the opposition I always hear - "because the users will
want it", but how much proof does that really hold? Multiple
facets doesn't make a search engine better or easier to understand.
Example
?cars=Saab,Audi
vs. ?cars=Saab?cars=Audi- The trick is to handle the comma and find other facets with the same names.
Resources