You are viewing limited content. For full access, please sign in.

Question

Question

Search query "LF:OCR<>all" gets error "The search parameter is invalid. [9245]"

asked on January 27, 2017

I had no problem in running the following query before upgrading from 9.2 to 10.2 (both servers and clients):

({LF:AssociatedPages="N"}|{LF:OCR<>all})&({LF:EXT="pdf"}|{LF:EXT="doc"}|{LF:EXT="docx"}|{LF:EXT="xls"}|{LF:EXT="xlsx"})- {LF:Tags="Skip OCR"}

I narrowed down the issue to “{LF:OCR<>all}” part. Even when I ran this simple short query, LF gives me the same error “The search parameter is invalid. [9245]”. I ran the search and gets the same error in the server (Windows Server 2008 R2 64bit) and in the client machine (Windows 7 Professional SP1). Error detail shows:

Error Code: 9245
Error Message: The search parameter is invalid. [9245]

------------ Technical Details: ------------

LF.exe (10.2.0.839):
    Call Stack: (Current)
        CSearchView::RunSearch
        CSearchView::BeginSearch
    Call History:
           CAttachedRepository::GetProfileValue
          GetOptionString ([Search]ContextHitLength)
           CAttachedRepository::GetProfileValue
          GetOptionString ([Search]IncludeShortcuts)
           CAttachedRepository::GetProfileValue
          GetOptionString ([Settings]UseDefaultCollation)
           CAttachedRepository::GetProfileValue
         CSearchView::GetTemplateIdFromSearchString

Thanks

0 0

Replies

replied on January 27, 2017

We will look into fixing this (bug# 154003), in the meantime a workaround is to replace the LF:OCR portion with this: {LF:OCR=none}|{LF:OCR=some}

0 0
replied on January 27, 2017

Thanks a lot. That walk-around worked.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.