001    package railo.runtime.search;
002    
003    import java.util.Map;
004    
005    public interface SearchData  {
006    
007            public Map getSuggestion();
008            
009            public int getSuggestionMax();
010            
011            public void setSuggestionQuery(String suggestionQuery);
012            
013            public String getSuggestionQuery();
014            
015            /**
016             * increments the searched records
017             * @param count records searched
018             * @return all records searched
019             */
020            public int addRecordsSearched(int count);
021    
022            /**
023             * return the records searched
024             */
025            public int getRecordsSearched();
026    }