Actions

Difference between revisions of "Developer Area/Specifications in Development/Search 2.0"

From Mahara Wiki

< Developer Area‎ | Specifications in Development
m (clean up formatting)
Line 3: Line 3:
 
There are a few elements in here which aren't directly related to search but that are designed to provide more metadata and therefore improve the quality of searches.
 
There are a few elements in here which aren't directly related to search but that are designed to provide more metadata and therefore improve the quality of searches.
  
<div id="section_1">
+
=Revive search/solr/ plugin=
 
 
===1- Revive search/solr/ plugin===
 
  
 
Not sure about the state of this one but we're told it no longer works (see [https://bugs.launchpad.net/mahara/+bug/680710 bug #680710])
 
Not sure about the state of this one but we're told it no longer works (see [https://bugs.launchpad.net/mahara/+bug/680710 bug #680710])
  
</div><div id="section_2">
+
=Add user tags=
 
 
===2- Add user tags===
 
  
 
These tags will be '''defined by each user''' in their profile area. They will be displayed as part of the '''Profile Info block'''.
 
These tags will be '''defined by each user''' in their profile area. They will be displayed as part of the '''Profile Info block'''.
Line 17: Line 13:
 
Furthermore, these tags will be searchable in the "Find friends" and "Copy page" searches.
 
Furthermore, these tags will be searchable in the "Find friends" and "Copy page" searches.
  
</div><div id="section_3">
+
=Add group tags=
 
 
===3- Add group tags===
 
  
 
These tags will be '''defined by group owners''' in the group settings. They will be displayed as part of the '''Group Info block''' on the group homepage.
 
These tags will be '''defined by group owners''' in the group settings. They will be displayed as part of the '''Group Info block''' on the group homepage.
Line 25: Line 19:
 
The tags will be searchable in the "Find groups" searches.
 
The tags will be searchable in the "Find groups" searches.
  
</div><div id="section_4">
+
=Add institution categories=
 
 
===4- Add institution categories===
 
  
 
These new categories will be '''defined at the system level''' by the site administrator and the UI will be similar to the one for defining group categories.
 
These new categories will be '''defined at the system level''' by the site administrator and the UI will be similar to the one for defining group categories.
Line 33: Line 25:
 
When creating a new institution, a new drop down of categories (including a "no category" category) will be shown if categories have been defined by the site admin.
 
When creating a new institution, a new drop down of categories (including a "no category" category) will be shown if categories have been defined by the site admin.
  
</div><div id="section_5">
+
=5 Create a new "Page Tags" block=
 
 
===5- Create a new "Page Tags" block===
 
  
 
Users are already able to assign tags to the pages they create but these tags aren't displayed anywhere on these pages.
 
Users are already able to assign tags to the pages they create but these tags aren't displayed anywhere on these pages.
  
</div><div id="section_6">
+
=Landing pages for tags=
 
 
===6- Landing pages for tags===
 
  
 
When tags are displayed anywhere, it will be in the form of links that will lead to index/landing pages which will display other similar items.
 
When tags are displayed anywhere, it will be in the form of links that will lead to index/landing pages which will display other similar items.
Line 51: Line 39:
 
* one for pages (views) accessible to the current user and tagged with a particular tag
 
* one for pages (views) accessible to the current user and tagged with a particular tag
  
</div><div id="section_7">
+
=Make the user search "AND" terms together=
 
 
===7- Make the user search "AND" terms together===
 
  
 
Currently, a user search for "John Doe" (without quotes) returns all users that match '''either''' "John" '''or''' "Doe". A much more useful results would be to return the users that '''match both terms'''.
 
Currently, a user search for "John Doe" (without quotes) returns all users that match '''either''' "John" '''or''' "Doe". A much more useful results would be to return the users that '''match both terms'''.
Line 59: Line 45:
 
This includes the "Find friends" search page as well as the owner portion of the "Copy page" search functionality.
 
This includes the "Find friends" search page as well as the owner portion of the "Copy page" search functionality.
  
</div><div id="section_8">
+
=Facetted search pages=
 
 
===8- Facetted search pages===
 
  
 
(This may require the Solr search plugin and not have a fallback for the internal search plugin.)
 
(This may require the Solr search plugin and not have a fallback for the internal search plugin.)
Line 71: Line 55:
 
* page search ("Shared pages"): institution, institution category, page tags, user tags (user pages), user role (user pages only), group tags (group pages only), group category (group pages only)
 
* page search ("Shared pages"): institution, institution category, page tags, user tags (user pages), user role (user pages only), group tags (group pages only), group category (group pages only)
  
</div><div id="section_9">
+
=Full-text search for "Shared pages"=
 
 
===9- Full-text search for "Shared pages"===
 
  
 
(This may require the Solr search plugin and not have a fallback for the internal search plugin.)
 
(This may require the Solr search plugin and not have a fallback for the internal search plugin.)
Line 83: Line 65:
 
* filenames
 
* filenames
 
* file contents (e.g. PDF, ODF, Word documents, text files)
 
* file contents (e.g. PDF, ODF, Word documents, text files)
 
</div>
 

Revision as of 12:33, 25 January 2012

This is a proposal for improving the search experience in Mahara. It covers searching for users, groups and pages (views).

There are a few elements in here which aren't directly related to search but that are designed to provide more metadata and therefore improve the quality of searches.

Revive search/solr/ plugin

Not sure about the state of this one but we're told it no longer works (see bug #680710)

Add user tags

These tags will be defined by each user in their profile area. They will be displayed as part of the Profile Info block.

Furthermore, these tags will be searchable in the "Find friends" and "Copy page" searches.

Add group tags

These tags will be defined by group owners in the group settings. They will be displayed as part of the Group Info block on the group homepage.

The tags will be searchable in the "Find groups" searches.

Add institution categories

These new categories will be defined at the system level by the site administrator and the UI will be similar to the one for defining group categories.

When creating a new institution, a new drop down of categories (including a "no category" category) will be shown if categories have been defined by the site admin.

5 Create a new "Page Tags" block

Users are already able to assign tags to the pages they create but these tags aren't displayed anywhere on these pages.

Landing pages for tags

When tags are displayed anywhere, it will be in the form of links that will lead to index/landing pages which will display other similar items.

There will therefore be three different landing pages displaying items:

  • one for all users tagged with a particular tag (can be optionally restricted to one of the institution you belong to)
  • one for publicly visible groups tagged with a particular tag
  • one for pages (views) accessible to the current user and tagged with a particular tag

Make the user search "AND" terms together

Currently, a user search for "John Doe" (without quotes) returns all users that match either "John" or "Doe". A much more useful results would be to return the users that match both terms.

This includes the "Find friends" search page as well as the owner portion of the "Copy page" search functionality.

Facetted search pages

(This may require the Solr search plugin and not have a fallback for the internal search plugin.)

Each of the following existing searches will include a few facets.

  • user search ("Find friends"): insitution, institution category, user tags, role (e.g. staff, admin, other)
  • group search ("Find groups"): group category, group type, group tags
  • page search ("Shared pages"): institution, institution category, page tags, user tags (user pages), user role (user pages only), group tags (group pages only), group category (group pages only)

Full-text search for "Shared pages"

(This may require the Solr search plugin and not have a fallback for the internal search plugin.)

This will allow users to search in the contents of pages that are visible to them:

  • artefact content (where it makes sense)
  • artefact description and tags
  • filenames
  • file contents (e.g. PDF, ODF, Word documents, text files)