Thank you.

Sas

-----Original Message-----
From: Erik Hatcher [mailto:erik.hatc...@gmail.com] 
Sent: Wednesday, June 1, 2016 4:34 PM
To: solr-user@lucene.apache.org
Subject: [E] Re: Simple Question about SimplePostTool

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