Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute:

we have a postgresql database containing json formatted data about various posts on social media accounts for our customers. Basically we only have a field with the ID and the other field contains all the JSON about a facebook post for example. Now I need to be able to query for all the fields in the JSON. My question is: how would I tell Solr to index only the field that contains the JSON and split the JSON to interpret multiple fields out of that single field. Sorry for my bad english!

Kevin

share|improve this question

1 Answer 1

17807030 shows "indexing inside JSON type". I believe you are looking for that?..

share|improve this answer
    
sorry if my wording was confusing but I'm talking about indexing a single json field via solr. Basically I want to import a single JSON field from my database into solr, split the JSON and save it to multiple fields in solr, to be able to query for them later on. – caevv Mar 10 at 15:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.