Ask Your Question
1

askfedora search does not work as expected.

asked Sep 29 '11

shanks gravatar image shanks
91 1 4

In the search text box, type "web" and wait. Observe that the question which has the word "web" in it is not displayed, however, a question which has no "web" in it is displayed.

Expected: Should display only questions which has the search string.

1 Answer

Sort by ยป oldest newest most voted
1
shanks has selected this answer as correct

answered Sep 29 '11

Evgeny gravatar image Evgeny flag of Chile
6715 31 49 96
http://askbot.org/

If you want to search for short words or acronyms, extra setup of the database will be required, this is postgresql-specific.

In addition /settings/FORUM_DATA_RULES/, set minimum length of search term to 3. Of course there are shorter search terms - like c. To make these work it will be necessary to configure the database to specifically catch those short terms, i.e. this will require custom work.

Default full text search configurations in the databases ignore short words, which are usually not heavy in information. Of course in the technical literature this is often not true.

link

Comments

It is already set to 3. I have made you a admin in Ask Fedora. So you can verify

mether (Sep 30 '11)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Sep 29 '11

Seen: 23 times

Last updated: Sep 29 '11