com.atlassian.confluence.search.lucene.extractor
Class SpaceKeyAndNameExtractor
java.lang.Object
com.atlassian.confluence.search.lucene.extractor.SpaceKeyAndNameExtractor
- All Implemented Interfaces:
- com.atlassian.bonnie.search.Extractor
public class SpaceKeyAndNameExtractor
- extends Object
- implements com.atlassian.bonnie.search.Extractor
Extracts and indexes the space key and name for searchables that belong to a space. Also Adds a field called
IN_SPACE_FIELD
to allow PersonalInformation
objects to be retrieved
in searches. For more details please see PermittedSpacesQueryMapper.convertToLuceneQuery(com.atlassian.confluence.search.v2.SearchQuery)
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 |
IN_SPACE_FIELD
public static final String IN_SPACE_FIELD
- See Also:
- Constant Field Values
SpaceKeyAndNameExtractor
public SpaceKeyAndNameExtractor()
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-2012 Atlassian. All Rights Reserved.