Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: wet_haystack: Custom fulltext search index builder
Yes, unlimited custom fields from 4.2.0 will be incorporated.
Offline
Re: wet_haystack: Custom fulltext search index builder
Awesome, Robert! Awesome.
Offline
Re: wet_haystack: Custom fulltext search index builder
wet_haystack 0.6 for Textpattern CMS 4.2.0+ adds support for searching unlimited custom fields.
Offline
#16 2009-09-17 01:53:56
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: wet_haystack: Custom fulltext search index builder
Brilliant. Thanks.
Kevin
(graphicpush)
Offline
#17 2009-09-25 01:07:47
- xavoy
- New Member
- Registered: 2009-09-25
- Posts: 2
Re: wet_haystack: Custom fulltext search index builder
Mate I just want to thank you for your hard work. This is exactly what I was looking for. Thank you!
Offline
Re: wet_haystack: Custom fulltext search index builder
Would it be possible to allow searches against the Category title as well as the name? For example, I have a category title of “Fireworks” with a name of “fw” (so my urls are shorter). People are more likely to search for the name Fireworks rather than “fw”.
Otherwise this is an amazing plugin.
Offline
Re: wet_haystack: Custom fulltext search index builder
This is beyond the technical limits as currently imposed by the Textpattern core text search methods.
Offline
Re: wet_haystack: Custom fulltext search index builder
Hey Robert, any chance of getting this advanced search patch to work with the extra search terms provided by wet_haystack? When I search for multiple terms, it works for the default searched fields (body, etc..), but ignores the extra terms your plugin provides.
Last edited by aswihart (2009-12-07 09:47:09)
Offline
Re: wet_haystack: Custom fulltext search index builder
I will look into it.
Offline
Re: wet_haystack: Custom fulltext search index builder
Music to my ears, my friend.
Offline
Re: wet_haystack: Custom fulltext search index builder
Tried to add custom_8 as searching field and got this error:
Column ‘custom_8’ cannot be part of FULLTEXT index
alter table uro_textpattern ADD FULLTEXT wet_haystack (`Title`, `Body`, `Excerpt`, `Keywords`, `custom_8`) in <b>/home/user/urosite.ru/www/textpattern/lib/txplib_db.php</b> on line <b>85</b><br />
Before this i added login, title, excerpt, keywords without any warnings.
Full diag – http://pastie.org/771261
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#24 2010-01-28 08:55:12
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: wet_haystack: Custom fulltext search index builder
OK, I get what this great plugin does…
I want to use it to make a search form that will search in 2 custom fields.
SELECT1 (rent, sale) + SELECT2 (apartment, house, garage…) + SEARCH BUTTON.
It will give you a list of articles matching the combined selected words from both select boxes.
EX: all articles that match RENT+HOUSE = all houses for rent
Can it be something like this? (its my first search form ever!) but dont really know how to implemented with this plugin or txp.
I never created search forms before, any clues on how I can acomplish this?
THANKS!
<form method="post" action="results" accept-charset="utf-8" enctype="multipart/form-data">
<table>
<tbody>
<tr>
<th><label for="¿?">SELECT1:</label></th>
<td>
<select gtbfieldid="7" id="¿?" name="¿?" title="¿?" style="width: 30em;">
<option selected="selected" value="">ALL</option>
<option value="rent">RENT</option>
<option value="sale">SALE</option>
</select>
</td>
<th><label for="¿?">SELECT2:</label></th>
<td>
<select gtbfieldid="7" id="¿?" name="¿?" title="¿?" style="width: 30em;">
<option selected="selected" value="">ALL</option>
<option value="apartment">APARTMENT</option>
<option value="garage">GARAGE</option>
</select>
</td>
</tr>
<tr>
<th></th>
<td><input id="submit" accesskey="s" value="Search" title="Start search" type="submit"></td>
</tr>
</table>
</form>
Last edited by mlarino (2010-01-28 09:33:35)
Offline