com.atlassian.confluence.search.v2.lucene
Class SearcherAction

java.lang.Object
  extended by com.atlassian.confluence.search.v2.lucene.SearcherAction
All Implemented Interfaces:
com.atlassian.bonnie.ILuceneConnection.SearcherAction

Deprecated. since 5.5. Use SearcherWithTokenAction instead.

@Deprecated
public class SearcherAction
extends java.lang.Object
implements com.atlassian.bonnie.ILuceneConnection.SearcherAction

Encapsulates all the untestable direct Lucene access performed by the LuceneSearcher. Do not put anything in this class that you could conceivably do outside the class in a testable way.


Field Summary
static int MAX_RESULTS
          Deprecated.  
static int MAX_START_OFFSET
          Deprecated.  
 
Constructor Summary
SearcherAction(org.apache.lucene.search.Query query, org.apache.lucene.search.Filter luceneFilter, org.apache.lucene.search.Sort sort, LuceneResultFilter resultsFilter, java.util.Set<java.lang.String> requestedFields)
          Deprecated.  
 
Method Summary
 boolean equals(java.lang.Object o)
          Deprecated. Two searcher actions are equal if they have the same search terms.
 java.util.List<SearchResult> getResults()
          Deprecated.  
 int getUnfilteredResultsCount()
          Deprecated.  
 int hashCode()
          Deprecated.  
 void perform(org.apache.lucene.search.IndexSearcher searcher)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_RESULTS

public static final int MAX_RESULTS
Deprecated. 
See Also:
Constant Field Values

MAX_START_OFFSET

public static final int MAX_START_OFFSET
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SearcherAction

public SearcherAction(org.apache.lucene.search.Query query,
                      org.apache.lucene.search.Filter luceneFilter,
                      org.apache.lucene.search.Sort sort,
                      LuceneResultFilter resultsFilter,
                      java.util.Set<java.lang.String> requestedFields)
Deprecated. 
Method Detail

perform

public void perform(org.apache.lucene.search.IndexSearcher searcher)
             throws java.io.IOException
Deprecated. 
Specified by:
perform in interface com.atlassian.bonnie.ILuceneConnection.SearcherAction
Throws:
java.io.IOException

getResults

public java.util.List<SearchResult> getResults()
Deprecated. 

getUnfilteredResultsCount

public int getUnfilteredResultsCount()
Deprecated. 

equals

public boolean equals(java.lang.Object o)
Deprecated. 
Two searcher actions are equal if they have the same search terms. The search results are ignored as part of the comparison.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.