Search Engine

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
mmmarcelo3
Posts: 3
Joined: Tue Dec 21, 2010 12:31 pm

Search Engine

Post by mmmarcelo3 »

Dear,

I have a question about the search engine of phpMyFAQ, I can not carry out searches in quotes:

For example, if I type beam curve, the search engine gives me all the words with beam and curve, but if I type "beam curve" it gives me the same options, if the search engine had the choice to search between quotes should find only "curved beams"together.

Can you tell me how I can enable the search in quotes in phpMyFAQ?

Regards,

Marcelo
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search Engine

Post by Thorsten »

Hi,

it works this way: http://dev.mysql.com/doc/refman/5.1/en/ ... olean.html

Which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mmmarcelo3
Posts: 3
Joined: Tue Dec 21, 2010 12:31 pm

Re: Search Engine

Post by mmmarcelo3 »

Dear Thorsten,

We are using version 2.6.11.

What is happening is the following:

When we do an exact search, we need to enter "word1%20word2" for the search result be correct. If we put "word1+word2" it could not find an exact search.

The search engine also is considering spaces - if I type word1 word2, it finds all articles that have space.

If you can verify the address is:

http://faq.altoqi.lelak.net/

Regards Marcelo
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search Engine

Post by Thorsten »

Hi,

I don't see the FAQ on this page...

The upcoming 2.7 version of phpMyFAQ has includes a better search.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mmmarcelo3
Posts: 3
Joined: Tue Dec 21, 2010 12:31 pm

Re: Search Engine

Post by mmmarcelo3 »

Hi Thorsten,

Belive me, it is phpMyFAQ.

I´ve got a question, when you told me that phpMyFAQ search engine works this way http://dev.mysql.com/doc/refman/5.1/en/ ... olean.html , it realy works on this way or can be working this way if a develop?

Regards,

Marcelo
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search Engine

Post by Thorsten »

Hi,

you can change the code in the search if you like. I think it would be possible to port the 2.7 search code base to 2.6, too.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jose
Posts: 3
Joined: Thu Dec 23, 2010 5:10 am

Re: Search Engine

Post by jose »

Hi Thorsten,

First of thank you and the team for developing such a wonderful app, most importantly continuing this development.

1. Can you suggest on how we can use search improvements of 2.7 in 2.6? Any functions from the search.php?

2. Also, are the STOP WORDS utilized in the Searches? As currently it seems not being used in searches. As common words such as to, the, is, how or even spaces are all included in the search. Avoiding these words will really make the result more relevant. Can you suggest a way to utilize the STOP WORDS (thus avoid them in the search query).

Thank once again.

Regards,
Bravo
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search Engine

Post by Thorsten »

Hi,
1. Can you suggest on how we can use search improvements of 2.7 in 2.6? Any functions from the search.php?
The search in 2.7 uses features from MySQL 5.0 only, so we removed some MySQL 4 relevant stuff. We also added a configurable search relevance functionality, you can now define what is having the biggest relevance for you, e.g. the question can be higher ranked then the answer in the fulltext search.
2. Also, are the STOP WORDS utilized in the Searches? As currently it seems not being used in searches. As common words such as to, the, is, how or even spaces are all included in the search. Avoiding these words will really make the result more relevant. Can you suggest a way to utilize the STOP WORDS (thus avoid them in the search query).
Not yet, I'll think how to implement this. Sounds like a good idea!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jose
Posts: 3
Joined: Thu Dec 23, 2010 5:10 am

Re: Search Engine

Post by jose »

Questions with search keywords ranked higher is a big improvement to result relevancy. Thats great! Await 2.7

After all serving appropriate answers to customers queries is the main purpose of the FAQs in general.

Thanks again.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search Engine

Post by Thorsten »

Hi,
Questions with search keywords ranked higher is a big improvement to result relevancy. Thats great! Await 2.7
it's even configurable! :-)

Merry Xmas!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply