<CONTEXT>import com.liferay.documentlibrary.util.Indexer;</BUG>import com.liferay.portal.PortalException;import com.liferay.portal.SystemException;<extra_id_0>import com.liferay.portal.PortalException;import com.liferay.portal.SystemException;<BUG>import com.liferay.portal.jcr.JCRConstants;import com.liferay.portal.jcr.JCRFactoryUtil;</BUG>import com.liferay.portal.kernel.search.Hits;import com.liferay.portal.kernel.util.StringPool;import com.liferay.portal.lucene.LuceneFields;</CONTEXT>
import com.liferay.documentlibrary.FileNameException;import com.liferay.documentlibrary.FileSizeException;import com.liferay.documentlibrary.SourceFileNameException;import com.liferay.documentlibrary.service.DLLocalService;import com.liferay.documentlibrary.util.Hook;import com.liferay.documentlibrary.util.HookFactory;