Index: branches/lucene-search-2.1/src/org/wikimedia/lsearch/index/WikiIndexModifier.java |
— | — | @@ -734,6 +734,10 @@ |
735 | 735 | String contents = article.getContents(); |
736 | 736 | contents = article.getTitle()+". "+contents; |
737 | 737 | |
| 738 | + if( article.DiscussionThreadingInfo.containsKey("ThreadSubject") ) { |
| 739 | + contents = article.DiscussionThreadingInfo.get("ThreadSubject") + ". " + contents; |
| 740 | + } |
| 741 | + |
738 | 742 | /** Following fields can be optionally case-dependent */ |
739 | 743 | for(FieldBuilder.BuilderSet bs : builder.getBuilders()){ |
740 | 744 | FieldNameFactory fields = bs.getFields(); |