OnDemand Users Group

Support Forums => Report Indexing => Topic started by: MHassan on June 08, 2020, 01:50:24 PM

Title: indexing from filename
Post by: MHassan on June 08, 2020, 01:50:24 PM
Hello,

I want to index from filename but while i create my application and application group , i choose pdf indexer , and i created the  fields that i will load the metadata from filename in it , but while i trying to autoload the pdf it say index parameters incomplete , So my question is there any way that i index from filename while using pdf indexer without using graphical wizard or providing trigers and fields in indexing parameters ?
Title: Re: indexing from filename
Post by: Ed_Arnold on June 08, 2020, 06:54:37 PM
I knew I had seen this come up before:

http://ODUG.net/index.php?topic=2581 (http://odug.net/index.php?topic=2581)

https://www.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.ir.doc/dodix005.htm (https://www.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.ir.doc/dodix005.htm)

I didn't use the graphical wizard or any special parameters.  As the doc says:

The only parameter required for metadata indexing is:
indexmode=metadata


I may be able to dig up more if you still need it.  Let me know.

Ed


Title: Re: indexing from filename
Post by: MHassan on June 09, 2020, 09:10:47 AM
Hello Arnold,
First of all thank you for your response,
i used in my index parameters of the application (INDEXMODE=METADATA) , and i have 2 fields created by myself to load the metadata in the filename in this 2 fields , but when i try to load it show me this error :


2020-06-09 09:07:23.594580: ARS4315I Processing file >c:\arsload\m.df.M.2020-06-09.pdf<
2020-06-09 09:07:23.594580: ARS4334I Load Version <10.5.0.0>  Operating System <Windows 64> <10.0.14393.0>  OS Userid <ADMINISTRATOR>  Install Location <C:\IBM\OnDemand\V10.5\>
2020-06-09 09:07:23.594580: ARS4335I Server Version <10.5.0.0>  Operating System <Windows 64> <10.0.14393.0>  Database <DB2> <11.01.0000>
2020-06-09 09:07:25.125820: ARS4339I Application Group >m<
2020-06-09 09:07:25.125820: ARS4340I Application >df<
2020-06-09 09:07:25.125820: ARS4341I Storage Set >Cache Only - Library Server<
2020-06-09 09:07:25.125820: ARS4342I Storage Node >Cache Only - Library Server<
2020-06-09 09:07:25.125820: ARS4347I Encryption >None<
2020-06-09 09:07:25.125820: ARS4302I Indexing started, 169556396 bytes to process
                          : ARS4901I INDEXMODE=METADATA
                          : ARS4901I PARMDD=C:\Windows\system32\m.df.M.2020-06-09.pdf.parm
                          : ARS4901I INPUTDD=c:\arsload\m.df.M.2020-06-09.pdf
                          : ARS4901I OUTPUTDD=C:\Windows\system32\m.df.M.2020-06-09.pdf.out
                          : ARS4901I INDEXDD=C:\Windows\system32\m.df.M.2020-06-09.pdf.ind
                          : ARS4901I RESOBJDD=C:\Windows\system32\m.df.M.2020-06-09.pdf.res
                          : ARS4902I Number of input pages = 13742
                          : ARS4922I ARSPDOCI 10.5.0.0 completed code 0
2020-06-09 09:08:05.144318: ARS4308I Indexing completed
2020-06-09 09:08:05.144318: ARS4312I Loading started, --UNKNOWN-- bytes to process
2020-06-09 09:08:05.222445: ARS1143I The field name 'Producer' found in the index file does not match any expected fields.  The field will be ignored.
2020-06-09 09:08:05.222445: ARS1143I The field name 'CreationDate' found in the index file does not match any expected fields.  The field will be ignored.
2020-06-09 09:08:05.222445: ARS1143I The field name 'ModDate' found in the index file does not match any expected fields.  The field will be ignored.
2020-06-09 09:08:05.222445: ARS1143I The field name 'ModDateTZ' found in the index file does not match any expected fields.  The field will be ignored.
2020-06-09 09:08:05.222445: ARS1130E 2 fields submitted by the indexer, 3 expected
2020-06-09 09:08:05.222445: ARS1146I Loaded 0 rows into the database
2020-06-09 09:08:05.222445: ARS4311E Loading failed
2020-06-09 09:08:05.238067: ARS4324E File >c:\arsload\m.df.M.2020-06-09.pdf< renamed to >c:\arsload\m.df.M.2020-06-09.pdf.Failed<.  Correct problems and resubmit file.
2020-06-09 09:08:05.238067: ARS4318E Processing failed for file >c:\arsload\m.df.M.2020-06-09.pdf<



Title: Re: indexing from filename
Post by: Justin Derrick on June 09, 2020, 01:36:57 PM
It would be helpful if you'd show us the command, and not just the results.

-JD.
Title: Re: indexing from filename
Post by: MHassan on June 09, 2020, 02:14:25 PM
Hello Justin ,

I am trying to index from filename in deamon mode not with manual command so i provide my parameters in the load service in cofigurator as this : -b "1,filename" -b "2,DateB" -B "AG.APP.1FLD.2FLD.EXT"
Title: Re: indexing from filename
Post by: Ed_Arnold on June 09, 2020, 08:23:54 PM
Ah - I misunderstood the original question.

I was thinking file name as in title of the file - not the filename as it's there on the directory.

I have never used the -b or -B parameters, am unfamiliar with them.

Do not use the PDF METADATA parameter.   

ARS1130E 2 fields submitted by the indexer, 3 expected

Something is looking for 3 values.  Can you tell what?

Ed