 |

bezzant
New User
Jan 6, 2004, 9:23 PM
Post #1 of 4
(3417 views)
Shortcut
|
|
Rebuilding Search Index Data
|
Can't Post
|
|
Hello InteractiveTools.com Forum, How can I delete the existing search index data and cause Search Engine to rebuild the search index? I have updated all of my webpages and have deleted other pages from my server, and I want all the search results to be refreshed. Also, it seems that the first 3 search hits are listed twice, in exact duplicate. After the first 6 search references (i.e. the first 3 actual references, but each listed twice), then all further references are listed just once. (Viewable at http://www.CNMIYellowPages.com). Will this be remedied when I rebuild the index? How do I rebuild it properly? Thanks. Bill Bezzant http://www.CNMIYellowPages.com bill.bezzant@saipan.com
|
|
|  |
 |

Eric
Product Specialist

Jan 7, 2004, 10:05 AM
Post #2 of 4
(3410 views)
Shortcut
|
|
Re: [bezzant] Rebuilding Search Index Data
[In reply to]
|
Can't Post
|
|
Hi Bill, Thank you for the forum post . You should not need to manually delete search index data. Search engine will update itself every time you search. I noticed that your basic search index turns out normal, but your advanced search produces the duplicate result issue. I used the same search word on both, "mariana", and I then checked the URL. The only significant difference between the two is the category query string. The advanced search URL has the following query string: categories=0 The query string value is the cause of your issue. There is no category number 0. Once I changed the category value to 1 (which is what the basic search index uses), the problem goes away. Try it here: http://www.cnmiyellowpages.com/se/exec/search.cgi?search=mariana&perform_search=Search&categories=1&search_mode=any&search_what=body%2Ckeywords&case_sensitive=0&rows=10&format=result_full The solution then is simply go to the advanced search template file, find the hidden field called categories, and change its value from 0 to 1. I hope this helps. Let me know how it goes and if you have other questions please let me know. :) Cheers, Eric Lau - Product Specialist support@interactivetools.com
|
|
|  |
 |

bezzant
New User
Jan 7, 2004, 5:55 PM
Post #3 of 4
(3401 views)
Shortcut
|
|
Re: [Eric] Duplicated Search Result Entries
[In reply to]
|
Can't Post
|
|
Hello Eric, Thanks for your reply. I changed the "Categories" value from "0" to "1". But as you said that only applies to Advanced Searches. For advanced searches, my results were not duplicated. But for initial searches (not from the Advanced Search page), I was still getting duplicate result entries. In examining my initial search form more closely, I found that it did not include the "Categories" formfield at all. The search form html that was installed as part of the free installation service by InteractiveTools.com was as follows: <form method="GET" action="http://www.cnmiyellowpages.com/se/exec/search.cgi"> <b>Search:</b> <input type="Text" name="search" size="25" maxlength="200"> <input type="submit" name="perform_search" value="Search"><br> <input type="hidden" name="skin" value=""> </form> But when I replaced that with the following new HTML form code, then I get a nice clean search with individual (non-duplicated) result records: <form method="GET" action="http://www.cnmiyellowpages.com/se/exec/search.cgi"> <b>Search:</b> <input type="Text" name="search" size="25" maxlength="200"> <input type="submit" name="perform_search" value="Search"><br> <input type="hidden" name="categories" value="1"> <input type="hidden" name="search_mode" value="any"> <input type="hidden" name="search_what" value="body,keywords"> <input type="hidden" name="case_sensitive" value="0"> <input type="hidden" name="rows" value="10"> <input type="hidden" name="format" value="result_full"> <input type="hidden" name="skin" value=""> </form> Thanks for the clue. It's working fine now. Bill Bezzant bill.bezzant@saipan.com
|
|
|  |
 |

Eric
Product Specialist

Jan 8, 2004, 9:40 AM
Post #4 of 4
(3395 views)
Shortcut
|
|
Re: [bezzant] Duplicated Search Result Entries
[In reply to]
|
Can't Post
|
|
Hi Bill, Thank you for the reply . Glad the clue helped you work things out. If you have other questions please let me know. Cheers, Eric Lau - Product Specialist support@interactivetools.com
|
|
|  |
|