documentation:technical:search_grammar
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:technical:search_grammar [2010/03/31 12:58] – examples miker | documentation:technical:search_grammar [2011/04/18 10:23] – Describe cover density algo tuning modifiers miker | ||
---|---|---|---|
Line 13: | Line 13: | ||
* And, sort those by pub date:< | * And, sort those by pub date:< | ||
* Descending (newest first):< | * Descending (newest first):< | ||
- | + | | |
- | | + | * Phrase searches can be left-anchored: |
+ | * Phrase searches can also consider punctuation literally: < | ||
+ | * Speaking of facets, imagine a locally defined index definition in the keyword class called mat_type that indexes, say, 945$m, which is a local field holding bib-level " | ||
+ | * Browse all of your DVD mat_types sorted by author:< | ||
+ | * Find all available audio cassettes in your South West branch:< | ||
+ | * Get the bibs for all of your VHS and BetaMax items published during the 80s in one browse list ordered by their approximate purchase date:< | ||
=== Grammar === | === Grammar === | ||
Line 27: | Line 32: | ||
modifier_marker | modifier_marker | ||
phrase_boundary | phrase_boundary | ||
+ | phrase_left_anchor | ||
+ | phrase_right_anchor | ||
1_word_phrase_marker | 1_word_phrase_marker | ||
negator | negator | ||
Line 39: | Line 46: | ||
negated_word | negated_word | ||
required_word | required_word | ||
- | phrase | + | phrase |
term := word | negated_word | required_word | phrase { whitespace term } | term := word | negated_word | required_word | phrase { whitespace term } | ||
Line 108: | Line 115: | ||
* **metabib** or **metarecord** -- Metarecord search, instead of direct bibliographic record search | * **metabib** or **metarecord** -- Metarecord search, instead of direct bibliographic record search | ||
* **staff** -- Staff search, which includes hidden records and non-transcendent records with no items or located URIs | * **staff** -- Staff search, which includes hidden records and non-transcendent records with no items or located URIs | ||
+ | * Cover density ranking algorithm tuning parameters, as described in the [[http:// | ||
+ | * **CD_logDocumentLength** | ||
+ | * **CD_documentLength** | ||
+ | * **CD_meanHarmonic** | ||
+ | * **CD_uniqueWords** | ||
+ | * **CD_logUniqueWords** | ||
+ | * **CD_selfPlusOne** | ||
== Registered classes (from the stock config.metabib_class) == | == Registered classes (from the stock config.metabib_class) == | ||
Line 115: | Line 129: | ||
* **subject** -- Any standard subject field. | * **subject** -- Any standard subject field. | ||
* **series** -- Series title | * **series** -- Series title | ||
+ | * **identifier** -- Accession numbers, standard numbers (ISxN, UPC, EAN, etc), local call number strings, etc | ||
== Registered search fields (from the stock config.metabib_field) == | == Registered search fields (from the stock config.metabib_field) == | ||
Line 134: | Line 149: | ||
|title|translated| | |title|translated| | ||
|title|uniform| | |title|uniform| | ||
+ | |identifier|isbn| | ||
+ | |identifier|issn| | ||
+ | |identifier|upc| | ||
+ | |identifier|ismn| | ||
+ | |identifier|ean| | ||
+ | |identifier|isrc| | ||
+ | |identifier|sici| | ||
+ | |identifier|bibcn| | ||
+ | |identifier|accession| | ||
+ | |||
+ | == Registered class and field aliases == | ||
+ | ^ **alias** | ||
+ | |au | author | ||
+ | |creator | ||
+ | |name | author | ||
+ | |kw | keyword | ||
+ | |se | series | ||
+ | |su | subject | ||
+ | |ti | title | | | ||
+ | |eg.author | ||
+ | |eg.name | ||
+ | |eg.keyword | ||
+ | |eg.series | ||
+ | |eg.subject | ||
+ | |eg.title | ||
+ | |bib.name | ||
+ | |bib.nameconference | ||
+ | |bib.namecorporate | ||
+ | |bib.namepersonal | ||
+ | |bib.namepersonalfamily | author | ||
+ | |bib.namepersonalgiven | ||
+ | |dc.contributor | ||
+ | |dc.creator | ||
+ | |bib.edition | ||
+ | |bib.genre | ||
+ | |bib.subjecttitle | ||
+ | |dc.identifier | ||
+ | |dc.publisher | ||
+ | |srw.serverchoice | ||
+ | |bib.titleseries | ||
+ | |bib.subjectname | ||
+ | |bib.subjectoccupation | ||
+ | |bib.subjectplace | ||
+ | |dc.subject | ||
+ | |bib.title | ||
+ | |bib.titleabbreviated | ||
+ | |bib.titlealternative | ||
+ | |bib.titletranslated | ||
+ | |bib.titleuniform | ||
+ | |dc.title | ||
+ | |id | identifier | ||
+ | |dc.identifier | ||
+ | |eg.isbn | ||
+ | |eg.issn | ||
+ | |eg.upc | ||
+ | |eg.callnumber | ||
== Registered facet fields (from the stock config.metabib_field) == | == Registered facet fields (from the stock config.metabib_field) == | ||
Line 146: | Line 217: | ||
|subject|temporal| | |subject|temporal| | ||
|subject|topic| | |subject|topic| | ||
- | + | |
documentation/technical/search_grammar.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1