Good day,
First i am quite unfamiliar with solr.
I am using solr 6.6.6, python 3.7 and pysolr (the latest version).
I have a many documents with the following format:
pysolr.add({
'first_name': 'Jane',
'last_name': 'Doe',
'contact': {
'phone_number': '0678901122',
'address': 'near the fire place'
}
})
I read some documentation on yonik.com, medium and lucidwork to understand how to make a query to solr.
I have already tried the following :
pysolr.search('contact.phone_number:06')
Obviously, this was bad and gave me the error : [Reason: undefined field contact.zip_code]
In the above exemple, i would like to understand how to retrieve a value from sub-element contact.