Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-user] Record metadata mapping in Solr

Hi Thomas,

thank you for the reply,

I would like to index in the Solr Core a metadata like this:

"events" = {
 {"ID"="event1", "timestamp"="1", "description"="event n°1"},
 {"ID"="event2", "timestamp"="10", "description"="event n°2"},
 {"ID"="event3", "timestamp"="20", "description"="event n°3"}
}

And I would like to be able to retrieve such values at query time and display them in the result page.

Nicolò

2012/6/12 Thomas Menzel <tmenzel@xxxxxxx>
hi nick,

solr supports only mapping of Values and Seqs of Values. the latter requires the solr field type to be multi valued.

how would you suggest an automapping of maps?
key name -> field name and value -> value?

Thomas Menzel @ brox IT-Solutions GmbH
(sent from mobile device)

Nick <nick.aquilini@xxxxxxxxx> wrote:

Hello,

I would like to index in a Solr Core records that contain a metadata, that is a sequence (AnySeq) of some maps (AnyMap).
Which configuration I need to declare in the schema.xml of the Solr Core?
I already search through the Solr wiki but I can't find out the solution.

Thanks,

Nicolò

_______________________________________________
smila-user mailing list
smila-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-user



Back to the top