Re: Skip Indexing Certain Files on Purpose

2013-08-02 Thread Jack Krupansky
- From: stone2dbone Sent: Friday, August 02, 2013 9:33 AM To: solr-user@lucene.apache.org Subject: Re: Skip Indexing Certain Files on Purpose Jack, thanks for the response. So, adding something as simple as the following to the processAdd() function should do the trick in your opinion? this_title

Re: Skip Indexing Certain Files on Purpose

2013-08-02 Thread stone2dbone
Jack, thanks for the response. So, adding something as simple as the following to the processAdd() function should do the trick in your opinion? this_title = doc.getFieldValue("title"); if (this_title == "Slide 1"){ return false; } Regards, ADS -- View

Re: Skip Indexing Certain Files on Purpose

2013-08-01 Thread Jack Krupansky
You could have a StatelessScriptUpdate processor detect the file type and then returns false, which aborts the update. I'll be sure to add such an example to the next early access release of my book! -- Jack Krupansky -Original Message- From: stone2dbone Sent: Thursday, August 01,