Home arrow Forum

Remository Forum

 


banana

Karma: 0  
Search plugin - 2010/08/19 16:37 While using the Joomla search I noticed following:

- in the remository there is a file named "anniversary.pdf"
- anywhere in an article there is the word "anniversary"
- in my calendar-component (jevents) there is an appointment with the subject "Anniversary"

...

I'm typing in the joomla-search the keyword "anni", results:
- File in the Remository ->NO
- article with the word "Anniversary" in ->YES
- calendar item with the subject "Anniversary" ->YES
... any other item from any additional components with the word "anniversaray" in it ->YES


I'm typing in the joomla-search the keyword "anni*", results:
- File in the Remository ->YES
- article with the word "Anniversary" in ->NO
- calendar item with the subject "Anniversary" ->NO
... any other item from any additional components with the word "anniversaray" in it ->NO

Is there anyway to leave out the asterisk (*) to find any item with one search?

Thank you
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:Search plugin - 2010/08/22 17:06 I'm hesitant about making a change to this. Although you are saying that a number of applications work in a different way from Remository, I'm inclined to think that it is Remository that has it right.

What the Remository search plugin does is to carry out a word search across the major fields of the repository - file title and description primarily. It uses the MySQL full text indexing feature. The terms used in the site search (options to search for any word or all words for instance) certainly suggests that it should be a word search and not a string search.

I've noticed that there are search applications appearing, which aim to replace the standard CMS mechanism, and their justification is poor performance with larger amounts of data. Many search plugins use the SQL construction LIKE which can be very slow indeed with larger tables.

But that does not affect Remository - the word search in the Remository plugin is highly efficient and should work quickly even with a very large repository.

It would be possible to add an asterisk to every word, but I'm not sure if that is desirable.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
banana

Karma: 0  
Re:Search plugin - 2010/08/23 23:27 Hi and thank you for the answer!

Please dont misunderstand me. Its for me difficult and strange to explain my costumer: "when you search files you have to put an asterrisk after your keyword and when you are looking for another content then without an asterisk.." the logical consequence and question from customer is "why?". beI'm used in sql programming and I understand your opinion... but joomla environment is an open-source-everyone-wants -to-develop -platform. I have in the specified joomla site about eight components where search works in the specified different way then your component (a very good component! . I think this could be a very user-friendly way!

Please tell me the specified code to put an asterisk to every keyword, so I can satisfy my customer and myself and have only one search for the whole site!

Michael
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 11 guest online