Can someone explain how Elgg search works (just a brief explanation)? I don't think there is a crawler with an index used to return search queries.
Is it possible to extend the search functionality? For example, my profile information won't show up in search, but we want it to. If I search for a company name and that name is in my email address then I'd like to be able to return that in a search query. Maybe integrating a 3rd party crawler/indexer and search would be the way to go? Not sure... just posing the question!
Would this be an easy task?
Thanks!
Lee
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Lee@8toenails
Lee - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- Lee@8toenails
Lee - 0 likes
You must log in to post replies.Elgg search is generally by the 'tag' fields, not full content text. There is some search extension plugins floating around - just find those and see.
Elgg just matches your query against the database entries. You can write a hook to perform a custom search, you will see examples in the search plugin. Profile info is usually stored as metadata, so you would need to list all the fields you would like to be searched.
Thanks! I'll look into this more and respond here. Much appreciated!
As Ismail mentioned elgg profile is based on metadta. Have a look at this discussion @ http://community.elgg.org/pg/forum/topic/837400/doing-a-like-query-in-elgg_get_entities_from_metadata/ for some more info
Thanks! I'll take a look!