Add test queries for SimpleServer as a Z39.50/SRU server with Solr/Lucene for particular expected record retrieval functionality.
Test queries have been organised for ensuring that we do not omit important types of queries. Please also help improve the organisation.
Some good test queries are needed to test each particular query feature in isolation. Real queries combine multiple query features into one query. Your test queries are welcome to combine query features. We need both query feature isolation test queries and query feature combination test queries.
We want your test queries. If you have trouble classifying your test query and have no time to improve the organisation, then please take a guess about where to add your query or add it to the unclassified Z39.50 queries table or the unclassified SRU queries table.
See Solr/Lucene Documentation for documentation of Solr/Lucene query syntax into which Z39.50/SRU queries would be transformed for SimpleServer.
Z39.50 Queries
Character Set Encoding in Records Returned for Z39.50
Character set encoding for records returned from a Z39.50 server can be selected by the client choice of server selection options such as the choice of target database or port number.
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Record Syntax Queries for Z39.50
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Attribute Sets Queries
Bib-1 Attribute Set Z39.50 Queries
Use (Index) Queries for Bib-1 Attribute Set
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
No truncation or stemming query.
|
@attr 1=4 maudit
|
[no records matched]
|
|
Query should have no 'maudits' matches without specifying truncation or stemming.
|
Truncation Queries for Bib-1 Attribute Set
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
Right truncation query.
|
@attr 1=4 @attr 5=1 maudit*
|
"Le crépuscule des maudits"
|
|
Query should succeed when specifying right truncation.
|
Unclassified Z39.50 Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Unsupported Z39.50 Queries Error Messages
Unsupported Z39.50 queries should return an appropriate error message.
Record Syntax Unsupported Z39.50 Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Attribute Sets Unsupported Z39.50 Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Bib-1 Attribute Set Unsupported Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
SRU Queries
Record Schema SRU Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
CQL Context Sets Queries
CQL Context Set 1.1 Specific Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
CQL Context Set 1.2 Queries
Relation for CQL Context Set 1.2 Queries
Stemming for CQL Context Set 1.2 Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
Stemming query.
|
dc.title =/stem maudit
|
"Le crépuscule des maudits"
|
|
Query should succeed when specifying stemming.
|
Masking (Truncation) for CQL Context Set 1.2 Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
Stemming query.
|
dc.title =/stem maudit
|
"Le crépuscule des maudits"
|
|
Query should succeed when specifying stemming.
|
Sort Context Set 1.0 Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Bib Context Set 1.0 Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Dublin Core Context Set 1.1 Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
No masking or stemming query.
|
dc.title = maudit
|
[no records matched]
|
|
Query should have no "maudits" matches without specifying masking (truncation) or stemming.
|
Unclassified SRU Queries
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Unsupported SRU Queries Error Messages
Unsupported SRU queries should return an appropriate error message.
Record Schema Unsupported SRU Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
CQL Context Sets Unsupported Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
CQL Context Set 1.1 Specific Unsupported Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
CQL Context Set 1.2 Unsupported Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Sort Context Set 1.0 Unsupported Queries Error Messsages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Bib Context Set 1.0 Unsupported Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|
Dublin Core Context Set 1.1 Unsupported Queries Error Messages
Topic
|
Query
|
Results
|
Development Status
|
Notes
|
|
|
|
|
|