-
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
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
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,