Page 43 of 43 FirstFirst ... 33414243
Results 421 to 427 of 427
  1. #421
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: New add-on "product type book" for ZC 1.5

    I had that issue also. I actually created a new table just for search.
    But you could also had some indexes to the data base tables. (Ex: author name, publisher name, etc)
    But I'm not on my desktop right now. But that's the way to go.

  2. #422
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: New add-on "product type book" for ZC 1.5

    Quote Originally Posted by pititis View Post
    Hello,

    I'm unable to use simple or advanced_search. I have more than 100K books. It takes forever (and 100% CPU.) Server here is a new Xeon with 8 Gb Ram and SSD disk

    Commenting the lines $extra_from and $extra_where in the function insert_book_attributes_into_search_query fix the issue (obviously) returning the search queries in no more than 1.4-1.6 seconds (0.5 when cached)

    Sorry I'm not a mysql guy. Any clue please?


    Cheers
    Not sure if you manage to improve the queries search time, but, in phpmyadmin ( or) you could add some indexes, like:

    ALTER TABLE `product_bookx_authors`
    ADD INDEX `idx_bxa_author_name` (`author_name` ASC);

    This would apply to isbn, publisher name, series_name, etc...

    I run into this issue on about 10k books. But I did to separate things, one was add index keys to database, other was to create a new table that I actually needed to quick access.

    I think with this extra indexes, is enough.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  3. #423
    Join Date
    Oct 2010
    Location
    Andalucía
    Posts
    15
    Plugin Contributions
    0

    Default Re: New add-on "product type book" for ZC 1.5

    Thanks you,

    Yes, yesterday that index was added to the product_bookx_authors table but I'm still playing with more indexes. I will add tomorrow the rest from your list.

    I want to remove some LEFT JOIN to make the query better, the idea is to search into author, publisher and maybe genre.

    Thanks for your time, I will post again soon.

    Boas noites

  4. #424
    Join Date
    Oct 2010
    Location
    Andalucía
    Posts
    15
    Plugin Contributions
    0

    Default Re: New add-on "product type book" for ZC 1.5

    Hi,

    Finally I did a few modifications, in my case I want to add author in the search query (products_name OR products_model OR scrchba.author_name). isbn=model.

    The unnecessary LEFT JOINS were deleted and the rest ( product_bookx_authors_to_products and product_bookx_authors) changed to INNER JOIN. it seems to be working fine (still testing)

    Cheers

  5. #425
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: New add-on "product type book" for ZC 1.5

    I know a lot of work has gone into bookx, however, does it now work with the latest version of Zen Cart?
    Learning Fast.
    Eden Craft Supplies

  6. #426
    Join Date
    Jun 2018
    Posts
    16
    Plugin Contributions
    0

    Default Re: New add-on "product type book" for ZC 1.5

    I tried to install it on 156C with PHP 7.3 but it doesn't work: can you help me?
    From "product_types" I can't find Product - BookX

  7. #427
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: New add-on "product type book" for ZC 1.5

    It is looking like this plugin is not being updated as Zencart is being updated. Pitty I did like this
    Learning Fast.
    Eden Craft Supplies

 

 
Page 43 of 43 FirstFirst ... 33414243

Similar Threads

  1. Why "No, Normal Shipping Rules" option for a "Product - Free Shipping" type?
    By ilikemike in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 31 Dec 2011, 12:34 AM
  2. Replies: 5
    Last Post: 11 Sep 2009, 04:51 AM
  3. Different "Sold Out" images for each product type
    By Starlyn in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 20 Mar 2009, 10:37 PM
  4. Remove "Add: [ ]" and "Add selected products to cart" from product pages? possible?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2008, 03:13 AM
  5. "Array()" line on "Update Address Book" page
    By vera in forum Managing Customers and Orders
    Replies: 10
    Last Post: 22 Sep 2006, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR