
net.dankito.utils.lucene.search.SearchResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lucene Show documentation
Show all versions of lucene Show documentation
Library that facilitates the usage of Lucene, e.g. to index fields, create queries, map search results, additional field types like Boolean and Date field, ...
The newest version!
package net.dankito.utils.lucene.search
import org.apache.lucene.document.Document
open class SearchResult(val score: Float, val document: Document) {
override fun toString(): String {
return "Score $score for $document"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy