• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFINDEX errors and warnings?

Participant ,
Feb 12, 2013 Feb 12, 2013

Copy link to clipboard

Copied

Where can I find an explanation of the errors returned by cfindex? I'm trying to index some Word documents (some .docx and some .doc), and getting many "badkey" errors about "Invalid document ID/key. (-25)" as well as "KV failed on filtering document: error = 12" and "Stream error (-140) - SKIPPING". I did some searching, and find a few discussions about problems with PDFs, but nothing helpful. It would be nice to know what the errors mean.

I'm running CF 9.0.1

Views

667

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Feb 14, 2013 Feb 14, 2013

Swaraj, thanks for the reply. I took another approach: instead of using a Verity collection, I created a Solr one. I changed nothing else about the indexing process and code, Solr happily indexed all of the documents without error.

One reason I did that is because in researching the problem I read that Adobe is dropping Verity from future versions of Cold Fusion. I guess that's best for the majority, but personally, I found Verity to be easier to use for the fairly simple search interfaces I have

...

Votes

Translate

Translate
Adobe Employee ,
Feb 14, 2013 Feb 14, 2013

Copy link to clipboard

Copied

Hi

Have you checked error.logs and exception.logs ? If there are few documents then you can follow reverse engineering process to narrow down the issue. It could be possible some word document is not liking to be indexed in ColdFusion.

Regards

Swaraj

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 14, 2013 Feb 14, 2013

Copy link to clipboard

Copied

LATEST

Swaraj, thanks for the reply. I took another approach: instead of using a Verity collection, I created a Solr one. I changed nothing else about the indexing process and code, Solr happily indexed all of the documents without error.

One reason I did that is because in researching the problem I read that Adobe is dropping Verity from future versions of Cold Fusion. I guess that's best for the majority, but personally, I found Verity to be easier to use for the fairly simple search interfaces I have implemented.

In any event, I do think that Adobe should provide documentation on error codes and such. I think it rather absurd that the Status attribute on their CFML Reference page for cfindex has "BADKEYS", described as "A structure of keys with diagnostic messages about the indexing ...", but no details or resources about those "diagnostic messages".

Thanks!

- Michael

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation