bjonnh
04/26/2019, 8:52 PM@SolrDocument(solrCoreName ="indexedcitation")
class IndexedCitation {
@Id
@Indexed(name = "id", type = "string")
private var id: String? = null
@Indexed(name = "title", type = "string")
private var title: String? = null
fun getId(): String? {
return id
}
fun setId(id: String?) {
this.id = id
}
fun getTitle(): String? {
return title
}
fun setTitle(title: String?) {
this.title = title
}
}
but not:
@SolrDocument(solrCoreName ="indexedcitation")
data class IndexedCitation(
@Id
@Indexed(name = "id", type = "string")
private var id: String? = null,
@Indexed(name = "title", type = "string")
private var title: String? = null
)
Pavlo Liapota
04/26/2019, 9:00 PMbjonnh
04/26/2019, 9:03 PMPavlo Liapota
04/26/2019, 9:28 PM@field:Id
I don’t know which target you need (field, set or get), you can try several.bjonnh
04/26/2019, 9:52 PMbjonnh
04/26/2019, 9:53 PMbjonnh
04/26/2019, 9:56 PMbjonnh
04/26/2019, 9:56 PMbjonnh
04/26/2019, 9:58 PMbjonnh
04/26/2019, 9:58 PMbjonnh
04/26/2019, 10:00 PMbjonnh
04/26/2019, 10:06 PMRobert Jaros
04/27/2019, 8:22 PMbjonnh
04/27/2019, 8:35 PMbjonnh
04/27/2019, 8:35 PMbjonnh
04/27/2019, 8:39 PMRobert Jaros
04/27/2019, 9:00 PMRobert Jaros
04/27/2019, 9:00 PMRobert Jaros
04/27/2019, 9:01 PMRobert Jaros
04/27/2019, 9:02 PMRobert Jaros
04/27/2019, 9:03 PMbjonnh
04/27/2019, 9:06 PMbjonnh
04/28/2019, 9:13 PMbjonnh
04/28/2019, 9:35 PM