#785: WebSearch: logging user queries and search URL normaliser
-------------------------+----------------------
 Reporter:  simko        |      Owner:  vvenkatr
     Type:  enhancement  |     Status:  new
 Priority:  minor        |  Milestone:
Component:  WebSearch    |    Version:
 Keywords:               |
-------------------------+----------------------
 User queries are logged into `query`, `user_query` table.  Currently the
 `urlargs` are stored there as such, which leads to troubles such as
 searching for `/search?p=ellis&f=author` and `/search?f=author&p=ellis`
 are seen as two different queries (leading to two different query IDs).

 The queries should be normalised before logging: e.g. parameter order
 alphabetical, e.g. default arguments removed, e.g. unnecessary collection
 mother and daughter removed, etc.

 (In the future, view-like arguments such as split-by-collection, records-
 in-groups-of, sort-field, next-page should be separated from search-like
 arguments like query-pattern and query-field.  This will be useful e.g.
 for faceting, but this will be part of another ticket.)

-- 
Ticket URL: <http://invenio-software.org/ticket/785>
Invenio <http://invenio-software.org>

Reply via email to