#71: WebSearch: new option to include title words in the record URLs
--------------------------+-------------------------------------------------
Reporter: simko | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: WebSearch | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by skaplun):
Indeed as discussed IRL, we should probably raise a 404 when the title
used is wrong (to avoid misuses, e.g. for SPAM purposes).
This can be implemented via a tmpl_ function so that the final admin would
be able to use whatever algorithm to produce the semantic part.
A possible default implementation might be to take the 4 longest words in
the title and use them in order of appearence (e.g.
"''Search for the minimal universal extra dimension model at the LHC with
ps =7 TeV''"
would become
"''search-minimal-universal-dimension''"
)
Moreover a function should be implemented to check that all this words
actually are part of the title. A problem would arise if the record has
been modified. In that case, previous version of the record should be
checked for. This would be computationally heavy, but would happen rarely.
--
Ticket URL: <http://invenio-software.org/ticket/71#comment:1>
Invenio <http://invenio-software.org>