Problems, need help? Have a tip or advice? Post it here.
14 posts Page 2 of 2
the url shown like "index.php"
Sorry couldn't get that. Please post more details.
we can search by part of the keyword
As I mentioned, the search feature is actually MySQL fulltext search and, as far as I know, it only searches for whole words.
I am wonder why terms like "we", "your", "about us",...etc, is not searchable?

And is it possible to make a advanced searched function? Something like:

Image


I'm going to purchase my first couchcms, just need to confirm all functions before purchasing. Thanks.
I am wonder why terms like "we", "your", "about us",...etc, is not searchable?


Maybe this links will help you to understand Mysql full-text search on this.
https://dev.mysql.com/doc/refman/5.0/en/fulltext-stopwords.html

To adjust the Mysql search function maybe this can help you http://www.mysqltutorial.org/activating-full-text-searching.aspx

See post http://www.couchcms.com/forum/viewtopic.php?f=8&t=7620 for your question about the advanced search function.
I load frameworks and write bugs on top of them, after that I rearrange the code so that it looks like a cool product.
I'll quote form our documentation (http://www.couchcms.com/docs/concepts/using-search.html) -
Couch uses MySQL's Fulltext search for this purpose. An advantage of this is that Couch can assign different weightages to words apprearing at different places in a page and fetch back pages ordered according to their calculated relevance.

Thus a page that contains the searched word in its title will be considered more relavant than another page that has the same word somewhere in an editable region. Similarly a page that contains the searched word multiple times is considered more relevant to the one containing it only once.

Fulltext search also has a few drawbacks that you need to be aware of -
It cannot be used to search for words that are less than four characters in length (considers them unimportant).
Also fulltext search does not match partial words.

So basically, the search offered by Couch is a simple veneer around what MySQL offers.

It is not a very advanced kind of search but suffices for most websites.
For your case, I don't think it'll cut ice though.
I suggest you please take a look at more advanced solutions e.g. sphinx or sphider.
14 posts Page 2 of 2