mirror of https://github.com/apache/lucene.git
tweak documentation to be clearer about uprefix
This commit is contained in:
parent
80bca5040a
commit
2e6119e8fd
|
@ -91,7 +91,7 @@ Once Solr is started, you can use curl to send a sample PDF included with Solr v
|
|||
|
||||
[source,bash]
|
||||
----
|
||||
curl 'http://localhost:8983/solr/gettingstarted/update/extract?literal.id=doc1&uprefix=ignored_&commit=true' -F "myfile=@example/exampledocs/solr-word.pdf"
|
||||
curl 'http://localhost:8983/solr/gettingstarted/update/extract?literal.id=doc1&commit=true' -F "myfile=@example/exampledocs/solr-word.pdf"
|
||||
----
|
||||
|
||||
The URL above calls the `ExtractingRequestHandler`, uploads the file `solr-word.pdf`, and assigns it the unique ID `doc1`. Here's a closer look at the components of this command:
|
||||
|
@ -141,7 +141,7 @@ Previously we added the document without these parameters so all fields were add
|
|||
The `uprefix` parameter only applies to fields that are _undefined_, so these won't be prefixed if the document is reindexed later.
|
||||
However, you would see the new `last_modified_dt` field.
|
||||
|
||||
The easiest way to try this parameter is to start over with a fresh collection.
|
||||
The easiest way to try out the `uprefix` parameter is to start over with a fresh collection.
|
||||
====
|
||||
|
||||
== ExtractingRequestHandler Parameters and Configuration
|
||||
|
|
Loading…
Reference in New Issue