solr - Pysolr - Indexing on multiple fields -


so, reading issue on official documentation, figured can have multivalued field :

solr.add([     {         "id": "doc_1",         "title": "a test document",         "link": ["baidu.com", "google.com"]     } 

now, index docs on both title , link field, how can that? , default field indexed on?


Comments

Popular posts from this blog

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -

angular - DownloadURL return null in below code -