First time here? Check out the FAQ!
1

askfedora search does not work as expected.

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.

shanks's avatar
91
shanks
asked 2011-09-29 07:57:04 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Evgeny's avatar
13.2k
Evgeny
answered 2011-09-29 16:13:08 -0500
edit flag offensive 0 remove flag delete link

Comments

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

mether's avatar mether (2011-09-30 12:43:32 -0500) edit
add a comment see more comments