Return to Jive Software

2,575 Views 5 Replies Last post: Nov 6, 2009 8:41 AM by Jackie2.0 RSS
pbolger Novice 4 posts since
Oct 18, 2007
Currently Being Moderated

Dec 9, 2007 11:25 AM

Search Relevance

Clearspace allows for sorting of search results using 4 sort criteria, including "relevance".

 

Relevance ranking for search results can cover a variety of metrics, including number of matched words, frequency of occurrence of matched words, word position (e.g in event title versus event description), tag matching and others.

 

Is there documentation available describing the logic used by CS when applying relevance to the search results?

 

Thanks,

 

Patrick

Aaron Johnson Jive Employee 1,169 posts since
Jan 7, 2004
Currently Being Moderated
Dec 11, 2007 12:49 PM in response to: pbolger
Re: Search Relevance

hi Patrick,

 

We use an open source project called Lucene for searching, they have a great document that talks about how hits are scored here:

 

http://lucene.apache.org/java/docs/scoring.html

 

We obviously do some of the work of getting items into the search index and determining what's indexed and how it's indexed, going into the details here would be a really long post. You can get a good idea of how items are indexed by checking out the source code for com.jivesoftware.community.impl.search.LocalSearchManager.  Start with the toSearchDocument(DocumentBean bean) method, take a look at the

private Field field(int objectType, IndexField name, Object value) 

implementation and the class com.jivesoftware.community.search.BoostParser class.

 

I'll also ask about getting some of this documented.

 

Cheers,

 

AJ

Gary Craven Novice 10 posts since
Jan 14, 2009
Currently Being Moderated
Aug 31, 2009 12:53 PM in response to: Aaron Johnson
Re: Search Relevance
It appears that the Lucerne documentation has moved. Do you know where the current document can be found?
Greg Unrein Jive Employee 2,601 posts since
Jul 20, 2004
Currently Being Moderated
Sep 9, 2009 4:01 PM in response to: Gary Craven
Re: Search Relevance

Gary, the documentation looks like it moved to: http://lucene.apache.org/java/2_3_2/scoring.html

 

Nova, here is a link to the search tips in the documentation which might help, and in general the best way to influence search results as an end-user is to choose a descriptive subject and add descriptive tags to the content. These two elements help with search relevance since the subject and tags of content are weighted more heavily than the body for relevance.

 

I hope that helps, and if you'd like more information, please ask.

nnewcomer Beginner 297 posts since
May 11, 2009
Currently Being Moderated
Sep 2, 2009 5:07 PM in response to: Aaron Johnson
Re: Search Relevance
Also, I think that Jive needs to consider creating a non-technical explanation of how search results come back -- something that is easily explained to users. My users are constantly struggling with understanding why they can't find certain documents and reading a technical documentation of Lucene isn't really what I would be looking for.
Jackie2.0 Novice 56 posts since
Sep 22, 2009
Currently Being Moderated
Nov 6, 2009 8:41 AM in response to: nnewcomer
Re: Search Relevance

has there been any updates on this subject that anyone can share? How have you enhanced your search or educated end users on searching more effectively?

More Like This

  • Retrieving data ...

Bookmarked By (0)