Help make a search.

Author Message

Kruglova Natasha

Friday 17 July 2009 3:40:28 am

Good day, help make a search.

Now search on the site happened to the exact search phrase.
Example code:
select * from name_table where name_field ='search_word'

Where changes to the search results took place on any part of speech?
Example code:
select * from name_table where name_field like '%search_word%'

I would like to appear in the search for all words, where the presence of a combination of characters.
Sample.

I wrote to the search for the word "war", the result should be:
- freeware
- war
- Software
- Warehouse
- Shareware
- Warcraft
etc.

Gaetano Giunta

Friday 17 July 2009 4:28:40 am

Use ezfind, and you will get an enterprise-level serach engine, that you can tune to your needs

Principal Consultant International Business
Member of the Community Project Board

Max Keil

Friday 17 July 2009 5:06:10 am

Hi Natasha,

if you do not want to use ezfind, you can setup up your site.ini.append.php like this:

[SearchSettings]
EnableWildcard=true

after that you can use control chars like * to search for all objects, which contains this word.

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.