mirror of
https://github.com/djohnlewis/stackdump
synced 2025-12-06 07:53:28 +00:00
Tags are now parsed during import, and inserted into the index as an array field.
Also changed names of multivalued Solr fields so they are plural.
This commit is contained in:
@@ -505,13 +505,13 @@
|
||||
<!-- TODO: the title field should be boosted at index-time -->
|
||||
<field name="title" type="text_general" indexed="true" stored="false" required="true"/>
|
||||
<field name="question-json" type="string" indexed="false" stored="true" required="true"/>
|
||||
<field name="answer-json" type="string" indexed="false" stored="true" multiValued="true"/>
|
||||
<field name="answers-json" type="string" indexed="false" stored="true" multiValued="true"/>
|
||||
<field name="ownerUserId" type="tint" indexed="true" stored="true" required="true"/>
|
||||
<field name="lastEditorUserId" type="tint" indexed="false" stored="false"/>
|
||||
<field name="lastActivityDate" type="tdate" indexed="true" stored="false"/>
|
||||
<field name="communityOwnedDate" type="tdate" indexed="false" stored="false"/>
|
||||
<field name="closedDate" type="tdate" indexed="false" stored="false"/>
|
||||
<field name="tag" type="string" indexed="true" stored="false" multiValued="true"/>
|
||||
<field name="tags" type="string" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
<!-- catchall field, containing all other searchable text fields (implemented
|
||||
via copyField further on in this schema -->
|
||||
|
||||
Reference in New Issue
Block a user