Author Topic: indexing from filename  (Read 2079 times)

MHassan

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
indexing from filename
« on: June 08, 2020, 06:50:24 AM »
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 ?

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1206
    • View Profile
Re: indexing from filename
« Reply #1 on: June 08, 2020, 11:54:37 AM »
I knew I had seen this come up before:

http://www.odusergroup.org/forums/index.php?topic=2581

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


#zOS #ODF

MHassan

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: indexing from filename
« Reply #2 on: June 09, 2020, 02: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<




Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: indexing from filename
« Reply #3 on: June 09, 2020, 06:36:57 AM »
It would be helpful if you'd show us the command, and not just the results.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

MHassan

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: indexing from filename
« Reply #4 on: June 09, 2020, 07:14:25 AM »
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"

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1206
    • View Profile
Re: indexing from filename
« Reply #5 on: June 09, 2020, 01: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





#zOS #ODF