com.atlassian.confluence.search.lucene.extractor
Class SpaceDescriptionUsernameExtractor

java.lang.Object
  extended by com.atlassian.confluence.search.lucene.extractor.SpaceDescriptionUsernameExtractor
All Implemented Interfaces:
com.atlassian.bonnie.search.Extractor

public class SpaceDescriptionUsernameExtractor
extends java.lang.Object
implements com.atlassian.bonnie.search.Extractor

Adding the "username" field to SpaceDescription index documents will allow them to be sorted together with PersonalInformation documents in People Directory search. See com.atlassian.confluence.user.actions.PeopleDirectoryAction.search()


Constructor Summary
SpaceDescriptionUsernameExtractor()
           
 
Method Summary
 void addFields(org.apache.lucene.document.Document document, java.lang.StringBuffer defaultSearchableText, com.atlassian.bonnie.Searchable searchable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceDescriptionUsernameExtractor

public SpaceDescriptionUsernameExtractor()
Method Detail

addFields

public void addFields(org.apache.lucene.document.Document document,
                      java.lang.StringBuffer defaultSearchableText,
                      com.atlassian.bonnie.Searchable searchable)
Specified by:
addFields in interface com.atlassian.bonnie.search.Extractor


Copyright © 2003-2014 Atlassian. All Rights Reserved.