Apologies - I must have reverted to an older css file that did not have the .highlight code. I recently worked on cleaning the css file.
It does work. I must have changed one of the search options and did not upload the new files when I checked.
Colin
Announcement
Collapse
No announcement yet.
Stemming Problems
Collapse
X
-
Originally posted by 4specs View PostFirst, I had not noticed that the highlight code was not working. Last time I tried it did. To avoid loading 15k 6,000 times a day I minified the javascript code and then moved it to a separate domain with our static images. The minified code is about 3,800 bytes. As your programming called the highlight on the body load, it interfered with our other script that also is called on the body load. I combined the highlight onload call into the one we use for tracking. I'll take apart the changes and see what does not work. I was also thinking of combining the two scripts into one as another project. This code is at the very bottom of the page, loading after Google Analytics.
In both cases however, there is no highlighting occurring because, as I mentioned in my last post, you have not defined the CSS for the ".highlight" class. In other words, you haven't specified how you want the highlighting to appear.
Please look at the previous links I gave you regarding using CSS. You need something like the following in your CSS:
Code:.highlight { background: #FFFF40; }
Originally posted by 4specs View PostAn advertiser called today. She could not find her company name in the Zoom search. Their company name is Nox-Crete.
If I search for Nox* it shows up, and Nox does not. The problem is around the hyphen, and I have many companies and products with hyphens. The stemming search apparently does not consider nox to be part of nox-crete.
Please recheck this situation. You're either confused or you've changed something so that this is no longer the current behaviour. If you still think a page is not appearing that should when you search for "Nox", tell us exactly what page (URL) this is.
Leave a comment:
-
First, I had not noticed that the highlight code was not working. Last time I tried it did. To avoid loading 15k 6,000 times a day I minified the javascript code and then moved it to a separate domain with our static images. The minified code is about 3,800 bytes. As your programming called the highlight on the body load, it interfered with our other script that also is called on the body load. I combined the highlight onload call into the one we use for tracking. I'll take apart the changes and see what does not work. I was also thinking of combining the two scripts into one as another project. This code is at the very bottom of the page, loading after Google Analytics.
Let me try and describe the stemming problem again.
An advertiser called today. She could not find her company name in the Zoom search. Their company name is Nox-Crete.
If I search for Nox* it shows up, and Nox does not. The problem is around the hyphen, and I have many companies and products with hyphens. The stemming search apparently does not consider nox to be part of nox-crete.
I tried various settings in the Zoom program - under Indexing options I turned on and off Indexing word rules for hyphens and it would not find nox either way.
Suggestions?
As one solution I plan to change the company name in multiple places so all the variations are on the indexed pages - NoxCrete, Nox-Crete and Nox Crete - on different pages.
Colin Gilboy
Leave a comment:
-
Sorry, I'm not quite sure what you are saying.
Originally posted by 4specs View PostI have selected the hyphen as a divider and not.
Originally posted by 4specs View PostStemming does not select this word unless I use a * which will find the pages
nox
nox-crete
http://www.4specs.com/s/03/03-3500.html
What are you trying to do and what is not behaving as you expect? Can you elaborate on what you are searching with, and what you are expecting to see?
Are you asking about how to make this particular page appear higher up in the results? That is, as result #1 rather than result #3?
On a (probably) unrelated note, I did notice that you have highlighting enabled, but you do not have the highlight CSS defined on your search template so none of the highlighting appears. You can find the default CSS from the original search_temlpate.html file generated.
See this for more information (and chapter 6 in the Users Guide):
Q. How do I customize the appearance of my search results with CSS?
Leave a comment:
-
Stemming Problems
Using V6 - 1013 build
I have company names and products on the pages that have hyphens - I have selected the hyphen as a divider and not. Stemming does not select this word unless I use a * which will find the pages
nox
nox-crete
http://www.4specs.com/s/03/03-3500.html
Suggestions on how to get the search to work for this company?Tags: None
Leave a comment: