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

Question

Question

LF Runtime 9.2.1 having an influence on search query syntax

asked on November 17, 2015

Hi,

I would like to find out if there is any best practice around installing the latest Runtime files on all user Pc's and possibly servers, if it is not used specifically for running custom applications built using the Lf SDK toolkit.

The reason for the question is that I have just noticed that having the latest 9.2.1 Runtimes installed on either a User PC or the server seems to change the search query being built by the LF Client instance. And was wondering if there are other processes that might also be effected and potentially enhanced, just by having the latest Runtime files installed?

For instance, I’m running a search in the client to identify all Entries on a Specific Template, that has been last modified in a given date range and that has no electronic file attached. The reason I say the Runtimes seem to influence the search query being used, is that if I include the Advanced Search syntax option to see the query that is built, then there is a difference on the machine or server that has the 9.2.1 runtimes installed and the one that has not.

 

The Search query for the machine that does not have the Runtimes installed looks like:

{[Oracle Invoices]} & {LF:Modified>="2015/11/03"} & ({LF:Name="*", Type="DB"} - {LF:Ext="*"})

 

Were as the machine that has the 9.2.1 runtimes installed, performing the exact same search via the client produces the query as follows:

{[Oracle Invoices]} & {LF:Modified>="2015/11/03"} & {LF:Ext="*"})

 

And if I take the second query and try to execute it on the machine that is running without the Runtimes, then it gives an error relating to a syntax error.

 

0 0

Answer

APPROVED ANSWER
replied on November 18, 2015

The logic for building the search syntax is all within the client, it shouldn't matter whether the SDK is installed. The difference between those two searches is having the "Electronic Files" search section open with "An electronic file component" vs. "No electronic file component".

0 0
replied on November 18, 2015 Show version history

Note that closing and reopening the client will reset the Electronic files search block to the default selection of "An electronic file component", so if you

  1. run the search,
  2. close the Client and reopen it
  3. run the search again without changing selected options

You will see the behavior you described.

Next time you see this behavior, take a closer look at the search blocks and take a video or screenshot; I suspect it's the simple act of closing and reopening the Client that is causing what you see, not installing the runtime.

Note also that if you make a change to the search blocks, but don't re-run a search, the search syntax block in the Client will still show the previous search, rather than any changes made.

1 0

Replies

replied on November 17, 2015

Are you really sure the 2 machines have the exact same version of the Laserfiche Client?

0 0
replied on November 18, 2015

Hi Miruna, 

Yes, I even tested it by performing the Search on a machine that did not have the Runtimes installed, after that Installed the Runtimes, and re-ran the test. So the Client version stayed unchanged, but the behaviour changed just by adding the Runtimes to that machine.

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

Sign in to reply to this post.