001 package railo.runtime.search; 002 003 /** 004 * a singl result item 005 */ 006 public interface SearchResulItem { 007 008 /** 009 * @return Returns the recordsSearched. 010 */ 011 public abstract int getRecordsSearched(); 012 013 /** 014 * @return Returns the score. 015 */ 016 public abstract float getScore(); 017 018 /** 019 * @return Returns the summary. 020 */ 021 public abstract String getSummary(); 022 023 /** 024 * @return Returns the title. 025 */ 026 public abstract String getTitle(); 027 028 /** 029 * @return Returns the id. 030 */ 031 public abstract String getId(); 032 033 /** 034 * @return Returns the key 035 */ 036 public abstract String getKey(); 037 038 /** 039 * @return Returns the url 040 */ 041 public abstract String getUrl(); 042 043 /** 044 * @return Returns the custom1. 045 */ 046 public abstract String getCustom1(); 047 048 /** 049 * @return Returns the custom2. 050 */ 051 public abstract String getCustom2(); 052 053 /** 054 * @return Returns the custom3. 055 */ 056 public abstract String getCustom3(); 057 058 /** 059 * @return Returns the custom4. 060 */ 061 public abstract String getCustom4(); 062 063 }