Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cdli_transliteration_search [2009/05/27 16:10] – casties | cdli_transliteration_search [2009/05/27 16:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
The transliteration search currently operates on a document i.e. tablet basis. If you search for two words it gives you all the tablets where both words are found somewhere on the tablet - not necessarily near each other. | The transliteration search currently operates on a document i.e. tablet basis. If you search for two words it gives you all the tablets where both words are found somewhere on the tablet - not necessarily near each other. | ||
- | The search currently | + | The search currently uses the ZCatalog index search on the word index (" |
The ZCatalog search syntax can be found here: http:// | The ZCatalog search syntax can be found here: http:// | ||
+ | |||
+ | Because the ZCatalog search only returns documents i.e. tablets, another search is needed to find the lines that matched inside the document for the result list with lines or the highlighting in the result list with full texts. | ||
+ | |||
+ | This second search currently only understands full words without order in the search expression which leads to the situation that a text shows up in the result list but no line from the text or too many lines or errors in the highlighting. So a search for "udu nita" with quotes using the advanced search syntax will list the correct texts but it will show all lines that contain either udu or nita. | ||
+ | |||
==== Simple search mode ==== | ==== Simple search mode ==== | ||
- | The simple search simply puts quotes around every " | + | The default |
< | < | ||
Line 21: | Line 26: | ||
</ | </ | ||
- | So if you were to put in | + | So if you put in "udu nita" with quotes it ends up as "" |
+ | |||
+ | ==== Advanced search syntax ==== | ||
+ | |||
+ | If you use the advanced search syntax mode you have to do the quoting for yourself when you use characters from ATF that are also meaningful in ZCatalog search syntax, e.g. (, ), ?, *. | ||
==== Word and grapheme indexes ==== | ==== Word and grapheme indexes ==== |