Created
May 3, 2012 15:09
-
-
Save erochest/2586346 to your computer and use it in GitHub Desktop.
Config options for https://github.com/scholarslab/SolrSearch/issues/8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Exhibits] | |
id-column=eid | |
result-type=Exhibits | |
table={$prefix}_exhibits | |
flag=public | |
tagged=yes | |
[Exhibits.title] | |
[Exhibits.description] | |
[Exhibits.featured] | |
name=Featured Exhibit | |
facet=yes | |
[Sections] | |
table={$prefix}_sections | |
flag=exhibit_id->{$prefix}_exhibits.id->public | |
; or | |
[Sections] | |
table={$prefix}_sections | |
link.parent=exhibit_id->{$prefix}_exhibits.id | |
flag={$parent}->public | |
; or | |
[Sections] | |
table={$prefix}_sections | |
parent=exhibit_id->Exhibits | |
[Sections.title] | |
[Sections.description] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"exhibits": { | |
"id-column": "eid", | |
"result-type": "Exhibits", | |
"table": "{$prefix}_exhibits", | |
"flag": "public", | |
"tagged": true, | |
"fields": [ | |
"title", | |
"description", | |
{ "field": "featured", "label": "Featured Exhibits", "facet": true } | |
], | |
"children": { | |
"sections": { | |
"table": "{$prefix}_sections", | |
"parent": "exhibit_id", | |
"fields": [ "title", "description" ] | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exhibits: { | |
id-column: eid | |
result-type: Exhibits | |
table: "{$prefix}_exhibits" | |
flag: public | |
tagged: true | |
fields: | |
- title | |
- description | |
- { field: featured, label: "Featured Exhibits", facet: true } | |
children: | |
- | |
sections: { | |
table: "{$prefix}_sections" | |
parent: exhibit_id | |
fields: | |
- title | |
- description | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment