Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #121  
Old 11-06-2008, 10:39 AM
 
starwest starwest is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 268
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

Quote:
Originally Posted by Manic
Great Mod!
Anyone know where to comment out the phrase "This search took xxxx seconds"?

Thanks


In skin1/modules/Smart_Search/smart_search.tpl comment out:

Code:
<div align="right"> {if $query_time}{$lng.lbl_took_seconds|replace:'query_time':$query_time} {/if}</div>
__________________
X-Cart Gold v4.1.10 [unix]
AOM, Special Offers, CDSEO Pro, Remember Anon Carts, Back-In-Stock Notifications, MM3, Feed Manager
Reply With Quote
  #122  
Old 11-06-2008, 11:12 AM
 
Manic Manic is offline
 

Senior Member
  
Join Date: Dec 2007
Posts: 127
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

Thanks!
__________________
X-Cart Gold 4.1.9
Smart Search (from Altered Cart)
DSEFU Pro
Product Meta Tags Plus
Category Meta Title Control
Latest Additions (BCSE)
Remember Me login
FireTank's Feed Manager
Lightbox (BCSE)
EWD Hosting
Reply With Quote
  #123  
Old 11-07-2008, 12:19 PM
 
starwest starwest is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 268
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

Has anyone else had any experience with this mod as it relates to wholesale pricing? We've got various membership levels setup on our site and it seems that Smart Search only wants to display the standard/retail price no matter what membership level our customers are logged in as.

If you utilize wholesale pricing with this mod, I'd love to know whether or not you're experiencing the same thing. We've tried with the stock tpl files, and it still happens, but perhaps I missed something.
__________________
X-Cart Gold v4.1.10 [unix]
AOM, Special Offers, CDSEO Pro, Remember Anon Carts, Back-In-Stock Notifications, MM3, Feed Manager
Reply With Quote
  #124  
Old 11-10-2008, 12:26 AM
 
Cefko Cefko is offline
 

Advanced Member
  
Join Date: Nov 2002
Posts: 69
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

We have a couple of problems with our smart search

1. The search hangs when searching for 1 letter word
http://www.nakupovanje.net/_search.php?page=1&q=playstation+3
or
http://www.nakupovanje.net/_search.php?page=1&q=v+550

Is this due to ft_min_word_len setting??

2. SQL error when tyring to rebuild database

Remote IP : 91.199.174.100
Logged as : tank
SQL query : SELECT *,
((MATCH (product) AGAINST ('Kartica Eksterna zvočna' )*500) +
(MATCH (descr) AGAINST ('Kartica Eksterna zvočna' )*5) +
(MATCH(xcart_products.keywords) AGAINST ('Kartica Eksterna zvočna' )*100) +
(MATCH(xcart_products.productcode) AGAINST ('Kartica Eksterna zvočna' )*1) +

(MATCH (fulldescr) AGAINST ('Kartica Eksterna zvočna' )*1)) AS score,
xcart_products.avail as avail
FROM xcart_products

WHERE (MATCH(product) AGAINST ('Kartica Eksterna zvočna' )
OR MATCH(descr) AGAINST ('Kartica Eksterna zvočna' )
OR MATCH(xcart_products.keywords) AGAINST ('Kartica Eksterna zvočna' )
OR MATCH(xcart_products.productcode) AGAINST ('Kartica Eksterna zvočna' )

OR MATCH(fulldescr) AGAINST ('Kartica Eksterna zvočna' )
OR xcart_products.productid='0' )
AND forsale IN ('Y')



GROUP BY xcart_products.productid
ORDER BY score DESC
LIMIT 0, 70
Error code : 1191
Description : Can't find FULLTEXT index matching the column list Request URI: /_search.php?page=1&q=Kartica+Eksterna+zvo%C4%8Dna
Backtrace:
/var/www/html/include/func/func.db.php:183
/var/www/html/include/func/func.db.php:109
/var/www/html/include/func/func.db.php:321
/var/www/html/modules/Smart_Search/smart_search_query.php:0
/var/www/html/_search.php:168


3. UTF-8 special characters (like č,š) are not shown in Tags section (the words-tags end where there should be a special character)


Any help would be appreciated
__________________
X-cart version 4.1.7
Apache/2.0.52 (CentOS)
My SQL 5.0.58
PHP Version 5.1.6
Reply With Quote
  #125  
Old 11-13-2008, 06:22 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

New Smart Search Available Jan/Feb '09.

Over the past several months I have re-written then entire engine to the Smart Search. New features are:
  • 30-500% faster on the customer side.
  • Product Options included in search.
  • Custom index that doesn't rely on the MySQL stopwords and word length limits for improved search results.
  • Switching to the Advanced search form doesn't require a page reload (It slides in with a JavaScript effect).
  • Faster index building in the admin (about 5 seconds for every minute it currently takes).
  • Improved algorithm with relevancy based on word distance.
  • Improved support for 1-3 letter words.
  • Improved support for dashed words and SKUs (for example XX-123 and XX123 will now match).
  • Eliminated the 50% common word threshold.
  • New search query that can be fully customized by the end user for easier integration X-Cart customizations and other modules.


There will also be two new add-ons for the Smart Search available separately (see thumbnail below):

1. A quick filter mechanism to limit quickly view search results by by price, category, or manufacturer.

2. A drop down auto complete / product suggestion tool that will suggest words, other popular queries, and matching products to the customer while they type in a search query.

Please see the screen shot below (may change for the final release).

smart_search.jpg
Reply With Quote
  #126  
Old 11-13-2008, 06:33 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

That's really looking great!
Is the 'Shop by' category/price/manufacturer (on the right side of the image) also a part of the new Smart Search?

And will this version also work with 4.0.x?

Thanks!
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #127  
Old 11-21-2008, 10:47 AM
  inboxnews's Avatar 
inboxnews inboxnews is offline
 

Senior Member
  
Join Date: Jul 2007
Posts: 121
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

Quote:
Originally Posted by wjbrewer
New Smart Search Available Jan/Feb '09.

Awesome. I want it now! How much?
__________________
XCART 4.1.8 [Linux]
Reply With Quote
  #128  
Old 11-24-2008, 08:45 AM
 
cycloneuk cycloneuk is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 54
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

I keep getting the below error every now and then when people perform searches, any ideas?

[24-Nov-2008 17:39:28] (shop: 24-Nov-2008 17:39:2 SQL error:
Site : www.fragrancezone.co.uk
Remote IP : 92.3.152.216
Logged as :
SQL query : SELECT DISTINCT *, COUNT(*) AS score FROM xcart_products WHER) GROUP BY xcart_products.productid ORDER BY score DESC
Error code : 1064
Description : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY xcart_products.productid ORDER BY score DESC' at line 1
Request URI: /_search.php?page=1&q=ck+in+2u
Backtrace:
/var/www/vhosts/fragrancezone.co.uk/httpdocs/include/func/func.db.php:180
/var/www/vhosts/fragrancezone.co.uk/httpdocs/include/func/func.db.php:106
/var/www/vhosts/fragrancezone.co.uk/httpdocs/include/func/func.db.php:322
/var/www/vhosts/fragrancezone.co.uk/httpdocs/modules/Smart_Search/smart_search_query.php:0
/var/www/vhosts/fragrancezone.co.uk/httpdocs/_search.php:165
__________________
X-Cart Gold 4.1.12
Reply With Quote
  #129  
Old 11-24-2008, 09:15 AM
 
starwest starwest is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 268
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

Quote:
Originally Posted by cycloneuk
I keep getting the below error every now and then when people perform searches, any ideas?

[24-Nov-2008 17:39:28] (shop: 24-Nov-2008 17:39:2 SQL error:
Site : www.fragrancezone.co.uk
Remote IP : 92.3.152.216
Logged as :
SQL query : SELECT DISTINCT *, COUNT(*) AS score FROM xcart_products WHER) GROUP BY xcart_products.productid ORDER BY score DESC
Error code : 1064
Description : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY xcart_products.productid ORDER BY score DESC' at line 1
Request URI: /_search.php?page=1&q=ck+in+2u
Backtrace:
/var/www/vhosts/fragrancezone.co.uk/httpdocs/include/func/func.db.php:180
/var/www/vhosts/fragrancezone.co.uk/httpdocs/include/func/func.db.php:106
/var/www/vhosts/fragrancezone.co.uk/httpdocs/include/func/func.db.php:322
/var/www/vhosts/fragrancezone.co.uk/httpdocs/modules/Smart_Search/smart_search_query.php:0
/var/www/vhosts/fragrancezone.co.uk/httpdocs/_search.php:165


I have the exact same problem. If you notice, your query contains only 2-letter phrases. The error on my site also occurs for only 2-letter search phrases. I've emailed Bill multiple times with no response, but I assume that he's cleared it up for the next version because in his above post he mentions that the new version will contain:

"Improved support for 1-3 letter words."

I'd hope that for those of us who don't wish to upgrade he releases a fix, but we'll see. You may want to contact him through his website and see if you have better luck then I did.
__________________
X-Cart Gold v4.1.10 [unix]
AOM, Special Offers, CDSEO Pro, Remember Anon Carts, Back-In-Stock Notifications, MM3, Feed Manager
Reply With Quote
  #130  
Old 11-24-2008, 10:48 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

Quote:
Originally Posted by cycloneuk
I keep getting the below error every now and then when people perform searches, any ideas?


This is caused by a query that contains all words that are less then the $_character_limit set in the smart_search_config.php file. I can send you an update.


Quote:
Originally Posted by starwest
I'd hope that for those of us who don't wish to upgrade he releases a fix, but we'll see. You may want to contact him through his website and see if you have better luck then I did.

Perhaps you forgot we just went through this last month. You made a post about it: http://forum.x-cart.com/showthread.php?t=42624

Last edited by qualiteam : 10-12-2015 at 03:46 AM.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:11 AM.

   

 
X-Cart forums © 2001-2020