1
0
mirror of https://github.com/djohnlewis/stackdump synced 2025-12-06 07:53:28 +00:00

Changed the indexed field from site name to site key because site key is relatively more unique.

This commit is contained in:
Samuel Lai
2012-02-05 17:52:44 +11:00
parent 3e02dcf151
commit 6d32f93452
2 changed files with 6 additions and 6 deletions

View File

@@ -498,7 +498,7 @@
<!-- fields are listed here so searches can be performed against them -->
<!-- the ID field needs to be a string for the QueryElevationComponent -->
<field name="id" type="string" indexed="true" stored="true" required="true" />
<field name="siteName" type="string" indexed="true" stored="true" required="true" />
<field name="siteKey" type="string" indexed="true" stored="true" required="true" />
<field name="creationDate" type="tdate" indexed="true" stored="false" required="true"/>
<!-- the field name in XML is score, but that's a reserved lucene keyword -->
<field name="votes" type="tint" indexed="true" stored="false" required="true"/>