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

Implemented random questions on home pages. Also consolidated the index pages into a single template.

This commit is contained in:
Samuel Lai
2012-02-11 22:32:23 +11:00
parent 6c58938d44
commit 06e210d37a
7 changed files with 52 additions and 58 deletions

View File

@@ -565,8 +565,10 @@
<dynamicField name="ignored_*" type="ignored" multiValued="true"/>
<dynamicField name="attr_*" type="text_general" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="random_*" type="random" />
-->
<!-- this random field allows retrieval of random records by sorting by a
field named random_* where the * is a random number/string. -->
<dynamicField name="random_*" type="random" indexed="true" stored="false" />
<!-- uncomment the following to ignore any fields that don't already match an existing
field name or dynamic field, rather than reporting them as an error.