API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.search.simpleindexer. JOTDefaultSearchSorter View Source
Author(s)
tcolar
Since
Version
Serial
Hierarchy
 Object
      JOTDefaultSearchSorter
Implements
 JOTSearchSorter
Subclasses
Description
public class JOTDefaultSearchSorter
Default search sorter Sorting results by score / hits if all keywords are found in the page then you get maximum score(10/10) each time one of the keyword is found in the page it counts as a "hit" also finds the best line in the file(most keywords) can be use to show an abstract
See also:   
Constructors
public JOTDefaultSearchSorter ()
Methods
Hide/Show inherited methods
public JOTSearchResult sortResults (JOTRawSearchResult rawResults) [Specified in JOTSearchSorter]
Fields
Hide/Show inherited fields
pack-privatestatic net.jot.search.simpleindexer.JOTDefaultSearchSorter.JOTDefaultSearchComparator comp
Nested Classes
  JOTDefaultSearchSorter.JOTDefaultSearchComparator
Default comparator to compare search results using score, hits
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar