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

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

public class UserStatusExtractor
extends Object
implements com.atlassian.bonnie.search.Extractor

Adds a field called IN_SPACE_FIELD to allow UserStatus objects to be retrieved in searches. For more details please see PermittedSpacesQueryMapper.convertToLuceneQuery(com.atlassian.confluence.search.v2.SearchQuery)


Field Summary
static String CREATOR_FULLNAME_FIELD
           
static String IN_SPACE_FIELD
           
 
Constructor Summary
UserStatusExtractor()
           
 
Method Summary
 void addFields(org.apache.lucene.document.Document document, 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
 

Field Detail

IN_SPACE_FIELD

public static final String IN_SPACE_FIELD
See Also:
Constant Field Values

CREATOR_FULLNAME_FIELD

public static final String CREATOR_FULLNAME_FIELD
See Also:
Constant Field Values
Constructor Detail

UserStatusExtractor

public UserStatusExtractor()
Method Detail

addFields

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.