17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1156 Views |
-
Searching additional fields

20 October 2007 at 7:16am
I've got a simple site search set up as per the tutorial, but I noticed that it only searches the SiteTree and File tables.
I have a page type called RecipePage which has two Content areas. Is there a clean way of extending SearchForm to search these additional fields?
I'm currently overriding the searchEngine function, doing an additional search on the RecipePage table (including the extra field) and adding it to the UNION statement. It's pretty ugly and doesn't work well at the moment because I get duplicates and half of them have no content.
If someone has a better solution I'd be happy to have a go at coding it...
-
Re: Searching additional fields

23 October 2007 at 12:13am
Hmm warnocked again
Has anyone had a go at integrating an indexing search engine like mngosearch into SilverStripe?
-
Re: Searching additional fields

27 October 2007 at 12:47am
I am very interested to know if and how you solved this cause I am having the same issue.
| 1156 Views | ||
|
Page:
1
|
Go to Top |


