SOLR Tika: add text of file to existing record (ExtractingRequestHandler) -


I am indexing posts in SOLR with "name", "title", and "description" field.

I know that I can add documents like this: (or through other interface)

/ P>

Curl ' Post 1 & amp; Commit = true '-f "myfile=@tutorial.html"

But this place is the correct post (post 1 above) - is there any parameter that I can pass by just adding to the record Am I

In Solar (see <4.0) you can not modify the field in a document. You can only delete or replace entire documents. Therefore, when you "attach" a file to a solar document, you will have to recreate your document with its existing values ​​(using the literal ), that is, the query for the document and then: / P>

  http: // localhost: 8983 / solr / update / extract? Literal.id = post1 and literal.name = myName and literal.title = myTitle & literal.description = myDescription & amp; Command = true  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -