But there is some other force at work preventing these changes from taking effect. All searches include all fields and my users get back useless lists of hundreds of results.
What's the best way to set up search on a CS Cart site?
Yeah, I started out using relevant terms in the “Search Words” field, but quickly found that it didn't matter because all the fields are returned on search. So I stripped it down to just the individual SKUs. We only sell stuff that we manufacture, so there's no point in putting that.
My problem is that the searches are returning too much data. I can't figure out how to make it only read from the pname and pkeywords fields.
[quote name='plinkplink' timestamp='1328136433' post='130433']My problem is that the searches are returning too much data. I can't figure out how to make it only read from the pname and pkeywords fields.
[/quote]
They do the same thing with the Quick search addon. Talk about double the size of your database real quick. I edited the addon to only cache the Search words.
Oh wow. That was really close to what I needed. Except I was trying to change “top search” not “quick search” and I needed to set the opposite effect.
It was in that same file: core/fn.catalog.php around line 3180. Right below the where Knowledge base suggested the additional code I just changed 'any' to 'all' and it seems to have worked.
Man, am I glad you ran across that. I would have never found it.