Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Updated Forum Search Index Min Word Length to 2 Chars and Added Quick Search Bar
Today I changed the forum mysql database to permit 2 letter searches:
I rebuilt the mysql search indexes as well.
Then, I added a "quick search bar" at the top of each page.
I have tested this and two letter searches are working; but it's not perfect, because special characters like dashes seem to not count toward the word length.
This means, for example, these searches work:
However, these searches fail:
If anyone is an expert in MySQL and knows how to get around this limitation without setting the min word length to one, please let me know. I'm not inclined to set the fulltext search index to a minimum word length of one.
For some reason, three char word lengths were not showing up in search results, even though the minimum is set to three and has been for a long time.
After monkeying around with this, I turned off full page search, dumped all search indexes, and re-enabled full text search and it's working... (1 Reply)
Hi guys,
I am trying to find the following string in a file, but I always get pattern not found error, not sure what is missing here. Can you help please?
I do a less to open the xrates.log and then do a /'="18"' in the file and tried various combinations to search the below string.
String... (8 Replies)
hi,
while in vi, we use /string to look for the particular string. after that operation, the particular string is highlighted in yellow color.
how do i take the highlight off?
thanks so much. (1 Reply)
hi, i have an awk script and I managed to figure out how to search the max value but Im having difficulty in searching for the min field value.
BEGIN {FS=","; max=0}
NF == 7 {if (max < $6) max = $6;}
END { print man, min}
where $6 is the column of a field separated by a comma (3 Replies)