Commit bf1b35a
committed
Add DocValues to support sorting of ticket index fields.
In order to support sorting, Lucene 5 needs DocValue fields in an index.
So in order to make the ticket index work, i.e. show any tickets on the
tickets page, the ticket index needs to be changed, adding a DocValues
field.
The DocValuesFields are implemented for the current index, which does not
use multiple values for a field. Should at any time in the future an
existing numeric field get multiple values stored in a document, then
the index needs to know that and use SortedNumeric DocValues and SortFields
instead.1 parent 71e24e2 commit bf1b35a
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
549 | 552 | | |
550 | 553 | | |
551 | 554 | | |
| 555 | + | |
552 | 556 | | |
553 | 557 | | |
554 | 558 | | |
555 | 559 | | |
| 560 | + | |
556 | 561 | | |
557 | 562 | | |
558 | 563 | | |
559 | 564 | | |
| 565 | + | |
560 | 566 | | |
561 | 567 | | |
562 | 568 | | |
563 | 569 | | |
564 | 570 | | |
565 | 571 | | |
566 | 572 | | |
| 573 | + | |
567 | 574 | | |
568 | 575 | | |
569 | 576 | | |
| |||
0 commit comments