Opened 13 years ago

Last modified 13 years ago

#94 new defect

problem getting an individual record

Reported by: vronk Owned by: ljo
Priority: major Milestone:
Component: MDRepository Version:
Keywords: Cc:

Description

For some handles, the searchRetrieve-function does not work. It seems to have to do with the spec char '/' in the handle.
Let's take a handle: test-hdl:1839/00-0000-0000-0001-2C86-6

You can find it if searched with eq:
http://demo.spraakdata.gu.se/clarin/cmd/model/stats?operation=searchRetrieve&query=//MdSelfLink%5B.%20eq%20%27test-hdl%3A1839%2F00-0000-0000-0001-2C86-6%27%5D

However you get nothing if asked with a ft:query (MdSelfLink? is ft-indexed.):
http://demo.spraakdata.gu.se/clarin/cmd/model/stats?operation=searchRetrieve&query=//MdSelfLink%5Bft:query%28.,%27test-hdl%3A1839%2F00-0000-0000-0001-2c86-6%27%29%5D

(As ft:query expects all lower-case, the characters in the handle (C) were changed to lower-case.)

So the question is, how to encode the handle, to be able to find the records with ft:query.

Change History (1)

Note: See TracTickets for help on using tickets.