Yes, you can add “literal” field values with bin/post:

   bin/post -c test ~/Documents/Test.pdf  -params "literal.foo=bar”

See 
https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Solr+Cell+using+Apache+Tika#UploadingDatawithSolrCellusingApacheTika-InputParameters
 for details on what parameters you can use with “rich document” indexing.

—
Erik Hatcher, Senior Solutions Architect
http://www.lucidworks.com



> On Jun 1, 2016, at 3:28 PM, Jamal, Sarfaraz 
> <sarfaraz.ja...@verizonwireless.com.INVALID> wrote:
> 
> Hi Guys,
> 
> I am a newbie at Solr, so I may have some very simple questions.
> I am also waiting for my book to arrive.
> 
> Can the SimplePostTool be used to add additional fields when indexing a 
> word/excel/text.
> 
> So, for example, as I index a word document, I pass in a parameter saying 
> team=avengers
> 
> Or something along the lines of that -
> 
> Thank you,
> 
> Sas

Reply via email to