Bug 8233 : SearchEngine: Add a Koha::SearchEngine module
[koha.git] / etc / solr / indexes.yaml
diff --git a/etc/solr/indexes.yaml b/etc/solr/indexes.yaml
new file mode 100644 (file)
index 0000000..b369160
--- /dev/null
@@ -0,0 +1,33 @@
+ressource_types:
+    - biblio
+    - authority
+
+indexes:
+    - code: title
+      label: Title
+      type: ste
+      ressource_type: biblio
+      sortable: 1
+      mandatory: 1
+      mappings:
+          - 200$a
+          - 210$a
+          - 4..$t
+    - code: author
+      label: Author
+      type: str
+      ressource_type: biblio
+      sortable: 1
+      mandatory: 0
+      mappings:
+          - 700$*
+          - 710$*
+    - code: subject
+      label: Subject
+      type: str
+      ressource_type: biblio
+      sortable: 0
+      mandatory: 0
+      mappings:
+          - 600$a
+          - 601$a