X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   CloudSearch service for X-Cart has been released (https://forum.x-cart.com/showthread.php?t=64575)

NikitaP 06-23-2013 09:34 AM

Re: CloudSearch service for X-Cart has been released
 
Hi Jeremy,

As I can see you've already solved the problem. Maybe you could share the solution?

carpeperdiem 06-23-2013 08:36 PM

Re: CloudSearch service for X-Cart has been released
 
Quote:

Originally Posted by NikitaP
Hi Jeremy,

As I can see you've already solved the problem. Maybe you could share the solution?


Hi Nikita,

First -- I am not receiving any email notifications for forum post replies. This started yesterday....

Ah, I see what you are seeing... in my production template (which is based on Books & Magazines, well modified).
I am configuring a new template (still 4.5.4) using a "template key" so that only those with the key can see the new template.
The new template does NOT show the search text.

Maybe there is installer code that I must add to the new template.... I will verify right now. BRB. Thanks,
J

carpeperdiem 06-23-2013 09:00 PM

Re: CloudSearch service for X-Cart has been released
 
Quote:

Originally Posted by NikitaP
As I can see you've already solved the problem. Maybe you could share the solution?


1. I entered text in the language entry:
lbl_enter_keyword

2. Since cloudsearch is pre-installed with 4.5.4 goldplus (not the subscription), I did not do the installation originally into the books & magazines template. But my new template may not have the required template calls and edits?

I tried to run install-cloudsearch.php, but it warned me about overwriting all of the database --
Is there a simple document with the installation instructions for a non-xcart template? I do not need to re-install. All files are where they need to be and cloudsearch seems to work perfectly, even in the new template -- but the {$search_prefilled.substring|default:$lng.lbl_ente r_keyword|escape}
is not appearing in the 3rd party template.

Are there any template edits that I need make for the new template?
I also do not have an auth code for the installer --

Thanks in advance...

J

carpeperdiem 06-24-2013 04:01 AM

Re: CloudSearch service for X-Cart has been released
 
Nikita,
Thank you for the PM.
Your suggestion to look at the search.tpl code was spot-on.
In case anyone is following this in the future:

in search.tpl. the variable that pre-fills the search field (in the xcart templates) is:

Code:

{$search_prefilled.substring|default:$lng.lbl_enter_keyword|escape}

In my 3rd party template, this string was:

Code:

{$search_prefilled.substring|escape}

And obviously, that was not going to pre-populate the default <lbl_enter_keyword>

This is really meant for another thread, but...
Since CloudSearch started life as an "add-on" module, then later integrated into x-cart core, it is possible that the template in a new 3rd party skin does not have CloudSearch integrated. I have advised the developer of my template. But it was as simple as doing a compare on search.tpl

Problem solved. Thank you!

carpeperdiem 06-24-2013 06:55 AM

Re: CloudSearch service for X-Cart has been released
 
Ah, but unfortunately the issue is not resolved.
The text now appears, but it doesn't DISAPPEAR if you start typing in the search box.
I will send link with PM
Thanks,
J

BBM_ 06-24-2013 10:07 PM

Re: CloudSearch service for X-Cart has been released
 
Hi Nikita,

I have updated to the latest version of cloud search (on a 4.3.2 store) and have a few questions for you relating to the new store statistics section.

If you could please clarify the below.

1. in the past 24 hours section the top 4 search results with no results are the following terms

screw d
screw dr
screw dri
screw driv

I'm assuming the term here is "screw driver" Does this indicate someone has searched for each term individually, or just typed v-e-r-y s-l-o-w (despite this term not relating to the store merchandise at all)

2. In the past 7 days section I have the same identical term listed as #3 result for top searches (7 results), and the #1 result for searches with no result (also 7 results).

I would assume this would mean that a product relating to this term was added to the store within the past 7 days, hence the term appearing on both lists?

If you could please clarify the above it would be appreciated, of course this could just be a time issue due to the recent upgrade.

Many thanks.

NikitaP 06-24-2013 10:57 PM

Re: CloudSearch service for X-Cart has been released
 
Quote:

Originally Posted by BBM_
Hi Nikita,

I have updated to the latest version of cloud search (on a 4.3.2 store) and have a few questions for you relating to the new store statistics section.

If you could please clarify the below.

1. in the past 24 hours section the top 4 search results with no results are the following terms

screw d
screw dr
screw dri
screw driv

I'm assuming the term here is "screw driver" Does this indicate someone has searched for each term individually, or just typed v-e-r-y s-l-o-w (despite this term not relating to the store merchandise at all)

2. In the past 7 days section I have the same identical term listed as #3 result for top searches (7 results), and the #1 result for searches with no result (also 7 results).

I would assume this would mean that a product relating to this term was added to the store within the past 7 days, hence the term appearing on both lists?

If you could please clarify the above it would be appreciated, of course this could just be a time issue due to the recent upgrade.

Many thanks.


Hi,

The first issue is most likely happened because of user typed "screw driver" and then started pressing backspace key. Normally CloudSearch collapses iteratively specified query to the longest one but in that case it doesn't. I guess it's rather rare case, but maybe we can do some processing here to.

When some query appears on both lists with the same hit count it basically means that this query doesn't return results. The first list contains all the queries, even those that do not return results. While the second one contains the subset of this - queries that returned nothing.

Please feel free to ask any related questions.

BBM_ 06-24-2013 11:40 PM

Re: CloudSearch service for X-Cart has been released
 
Hi Nikita, sorry I'm a tad confused if you could please clarify the below,

Quote:

Originally Posted by NikitaP

When some query appears on both lists with the same hit count it basically means that this query doesn't return results. The first list contains all the queries, even those that do not return results. While the second one contains the subset of this - queries that returned nothing.

Please feel free to ask any related questions.


So when a query appears on both lists with a hit count, this means there was no hit? then shouldn't the hit count be zero?

Or I am misinterpreting the results? Shouldn't the first list be the top searches that returned a result, and the second be the top searches without a result.

I don't believe the same item should be able to be on both lists.

Then again I may be wrong? :?

NikitaP 06-24-2013 11:48 PM

Re: CloudSearch service for X-Cart has been released
 
Hi,

Hit count ("number of hits" is written in the small popup) is not a number of results the query returned, it is the number of times this query was issued.

Frankly, there wasn't much feedback on that feature from our users. Maybe you're right and the first list should list only the queries that returned some results. Let me think about it.

BBM_ 06-24-2013 11:53 PM

Re: CloudSearch service for X-Cart has been released
 
Many thanks for the clarification.


All times are GMT -8. The time now is 10:34 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.