uCoz Community » uCoz Modules » Additional Features » Site search (And everything that is related to it)
Site search
Natashko
Posts: 3366
Reputation: 171

Message # 1 | 2:41 PM

uCoz Web Service has its own Site search.

You do not have to install this module. It is installed by default and it is a required module.
Attention: it is impossible to deinstall the Site Search module!

Though it is possible to set it up or not to use it at all.

You can select the modules to search in:


We would like to draw your attention to the setting

Supplement search results by tags with the results of site search:
If the checkbox is tagged, the site search results will be shown after the search results by tags.
Here is how the site search results will look for the request: CINEMA

And this is the way the search results by the tag CINEMA will look (You will see them in addition with site search results).

Where the first result is the search result by the tag CINEMA. And the rest of he results are site search results for the request CINEMA.
(This is an example with the default settings of Appearance of entries. "Entry brief description" in the modules is also disabled)


It is not difficult to distinguish the search results by the tag from the site search results. The appearance of the site search entries is the following: module name + the date (day-month-year the time of adding the entry).

The appearance of the search entries by the tag is the following: module name + the title of the module category (nesting depth of an entry. The code $ENTRY_DEPTH$ is responsible for that)+the date when the entry was added (day.month.year).

It is also possible to distinguish the search results by the tag from the site search results with a help of the URL of the request:

The appearance of the request URL of the site search results is the following: http://siteaddress/search/?q=
The appearance of the request URL of the search results by the tag is the following: http://siteaddress/search/

If the checkbox “Supplement search results by tags with the results of site search:” is not tagged:
the search by tag will show the results for the request of this tag only. And the site search will show the results on the search requests only.

Site search module has design customization feature.

Search page – will help you to customize the design of the page with the results of the site search and the search by tags.
Appearance of entries – will help you to customize the appearance of search results entries.

Sitemap

Sitemap is generated automatically on each website now. Users do not have to create it any more. Sitemap files are updated automatically, approximately once a day (depends on how often the website is updated). URLs of Sitemap files are written in the default robots.txt file, which we advise not to change.
You can get URLs of the Sitemap in Control panel->Site search
Note on search forms: each site module has codes $SEARCH_FORM$ and $MODULE_SEARCH_FORM$
It means that either the form for the indexed search on the whole website ($SEARCH_FORM$) or form to search entries of a module ($MODULE_SEARCH_FORM$) can be embedded into the template of the modules. Of course, both forms can be used simultaneously in order to search on the whole website or to search entries of a certain module.

Addition: on the websites with uID login, uNet users' bar has a site search form: Userbar->Control->Site search

Note:
  • The new entries are indexed within 10 days.
  • The entries that are deleted from the website, disappear from the search results within 14 days
  • In order to re-index the entries in the catalog manually, you need to tag the checkbox “Entry date:“ and Save without making any other changes.

See how to enable Site Search here:

Attachments: 4952405.png (26.3 Kb) · 2896905.png (1.4 Kb) · 7026367.png (7.1 Kb) · 0944180.png (9.3 Kb) · 8864910.png (1.5 Kb)
Sunny
Posts: 9296
Reputation: 456

Message # 316 | 10:33 AM
Mar1aN, not all $codes$ are working in the site search templates, all available codes are listed under the corresponding templates.
I'm not active on the forum anymore. Please contact other forum staff.
Mar1aN
Posts: 192
Reputation: 3

Message # 317 | 11:24 PM
Sunny, but why?
Those codes are very important!

nenadtv1
Posts: 2
Reputation: 0

Message # 318 | 4:30 PM
Natashko, Help me Site search How to make a CP that we work Site search here at this link that I sent out to my work http://prntscr.com/42xd54 Site search I miss something in the CP panel when I do not know how to make me work Site search
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 319 | 3:02 AM
nenadtv1, please provide a site URL, I don't entirely understand what you wish to achieve either unfortunately. Could you please try to clarify? smile
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Clyde
Posts: 242
Reputation: 0

Message # 320 | 5:32 PM
Searched for this and could not find any direct info for my issue...

Our search engine works but the results always show old entries first/ newer entries last.

I have the 'tags' feature checked ... tried 'unchecked too' it has always been the same.

Members have mentioned this issue for a long time now...

This is the 'Search Appearance of entries'...

Code
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="eBlock"><tr><td style="padding:3px;">
<div class="eTitle" style="text-align:left;font-weight:normal"><a href="$ENTRY_URL$">$TITLE$</a></div>
<?if($MESSAGE$)?>
  <?if($MODULE_ID$='shop')?><div style="float:left;padding-top:10px;"><a href="$ENTRY_URL$"><img alt="" src="$SMALL$" class="gphoto"></a></div><?endif?>
  <div class="eMessage" style="text-align:left;padding-top:2px;padding-bottom:2px;">$MESSAGE$</div><?endif?>
<div class="eDetails" style="clear:both;">$ENTRY_DEPTH$
<?if($SAVING_DATE$)?>- $SAVING_DATE$<?endif?></div></td></tr></table><br />


I don't see anywhere in the panel where there is an option for this.

Ucoz Website Since 2009
Sunny
Posts: 9296
Reputation: 456

Message # 321 | 2:58 PM
Quote Clyde ()
I don't see anywhere in the panel where there is an option for this.


I'm afraid there is no such setting.

I'm not active on the forum anymore. Please contact other forum staff.
lanh
Posts: 135
Reputation: 0

Message # 322 | 8:12 AM
uCoz search do not search text in $BRIEF$ code. >>> So bad!

It just searches $MESSAGE$, $tag$, $ENTRY_TITLE$ code only!

Rogue6562
Posts: 1
Reputation: 0

Message # 323 | 10:14 AM
This is how to fix the error
Attachments: 6042765.jpg (31.0 Kb)
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 324 | 8:17 AM
Rogue6562, please try clearing your browser cookies and cache. If that doesn't help could you please provide the URL of the website? smile

lanh, I have forwarded this onwards to our technical team to investigate. I'll reply with more information when I have it. wink

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Ed05
Posts: 556
Reputation: 7

Message # 325 | 3:11 PM
The search wont work on my site any more. enteries added 6 days ago cant be find in search . is that mean that serch form need longer than 6 days to index enteries in search map or there is some error?
!
Post edited by Ed05 - Thursday, 2014-11-06, 3:11 PM
Sunny
Posts: 9296
Reputation: 456

Message # 326 | 2:15 PM
Ed05, provide an example: a link to the entry that was posted more than 4-5 days ago and cannot be found by the Site Search.
I'm not active on the forum anymore. Please contact other forum staff.
Ed05
Posts: 556
Reputation: 7

Message # 327 | 2:37 PM
Sunny, Removed by me
cool

!
Post edited by Ed05 - Friday, 2014-11-07, 5:15 PM
Sunny
Posts: 9296
Reputation: 456

Message # 328 | 4:36 PM
Ed05, entries posted on October 30 and earlier are indexed, so it's possible that there is just a delay in the indexing. But anyway I'll ask the techs to have a look.
I'm not active on the forum anymore. Please contact other forum staff.
Ed05
Posts: 556
Reputation: 7

Message # 329 | 5:16 PM
Ok,my users complain that they cant find enteries added about 30 october. tnx Sunny,
!
KelvinGari7774
Posts: 10
Reputation: 0

Message # 330 | 4:46 PM
I think the need upgrade search engine, it needs powerful and more accurate
uCoz Community » uCoz Modules » Additional Features » Site search (And everything that is related to it)
Search: