locked
filter the sharepoint's search results RRS feed

  • Question

  • Hello,

    Is it posible to filter the sharepoint's (MOSS - Enterprise) search results in any way? I'll explain my self. My intention is to search again over the search results.

    Thanks in advanced.
    • Edited by IKer Elgezabal Wednesday, August 6, 2008 10:01 AM filter the sharepoint's search results
    Wednesday, August 6, 2008 9:59 AM

Answers

  • Not out of the box.  It would be a fairly substantial custom development project, I believe.
    --Paul Galvin of www.Conchango.com @ http://feeds.feedburner.com/PaulGalvinsSharepointSpace
    Wednesday, August 6, 2008 9:38 PM
  • You might want to take a look at the Faceted Search:
    http://www.codeplex.com/FacetedSearch

    This functionality has been added to MOSS with the latest Infrastructure Update but it allows you to drill down and refine your search results. Not sure if that is exactly what you are looking for but I've used this solution for several clients who were looking to do what you described.


    John
    SharePoint911: SharePoint Consulting
    http://www.rossonmoss.com
    • Proposed as answer by John D. Ross Thursday, August 7, 2008 2:44 PM
    • Marked as answer by IKer Elgezabal Tuesday, August 19, 2008 11:29 AM
    Thursday, August 7, 2008 2:44 PM

All replies

  • Not out of the box.  It would be a fairly substantial custom development project, I believe.
    --Paul Galvin of www.Conchango.com @ http://feeds.feedburner.com/PaulGalvinsSharepointSpace
    Wednesday, August 6, 2008 9:38 PM
  • You might want to take a look at the Faceted Search:
    http://www.codeplex.com/FacetedSearch

    This functionality has been added to MOSS with the latest Infrastructure Update but it allows you to drill down and refine your search results. Not sure if that is exactly what you are looking for but I've used this solution for several clients who were looking to do what you described.


    John
    SharePoint911: SharePoint Consulting
    http://www.rossonmoss.com
    • Proposed as answer by John D. Ross Thursday, August 7, 2008 2:44 PM
    • Marked as answer by IKer Elgezabal Tuesday, August 19, 2008 11:29 AM
    Thursday, August 7, 2008 2:44 PM
  • It's just what I was wondering. I've tried with several WebParts MOSS (Enterprise) comes with but have not found the way.
    Many Thanks.
    Tuesday, August 12, 2008 8:34 AM
  • looked over the functionalities MOSS Faceted has and it could be the solution to ower needs. I need to test it, but as soon as I have my conclusion Ill post it here.

    Many thanks again...
    Iker Elgezabal
    Tuesday, August 12, 2008 8:44 AM
  • Wednesday, August 13, 2008 1:09 PM
  • Hi again.

    After testing MOSS Facet Search v2.5 I Found this very useful if you want to drill down the search results in an intuitive way.

    With just one click you are able to filter the principal results . That's right, you can configure the Search Facet WebPart so it can modify the core search results hidding those elements that doesnt match the metadata you predefinined before.

    The only thing I think they should change (if posible) is the fact that you are not able to use it with scopes, or restrictions in the Advanced Search Box WebPart, otherwise (with basic, URL search) works nicelly.


    Tuesday, August 19, 2008 11:27 AM

  • Hi Iker,

    I've just published a project on Codeplex that may do what you were looking for. It's called "SharePoint Column Filtered Search Web Part" (a mouthfull, I know!). You can find it here:

    http://filteredsearch.codeplex.com/

    Unlike the facetedsearch, this does not require anything special to be done with the columns (in other words, the columns don't need to be indexed - the filter is applied to the results as they are returned based on the web part configuration and the users runtime choices).

    If this doesn't cover what you were looking for, let me know and if I can I may be able to enhance it in the next version.

    Cheers

    Ron
    just grab the bull by the balls and run with it
    Friday, August 28, 2009 8:35 AM
  • Hi RonCresswell ,

    I've  implement your webpart from http://filteredsearch.codeplex.com, but the search result doesn't show like your search result sreen shoot in http://filteredsearch.codeplex.com. it's only show Title link a single line not 4 lines and when i enter a keyword in text box it comes with no result.
    Is there any setting that i have to do to make it's work like your screen shoot.

    Thanks in advanced.
    Sunday, August 30, 2009 4:07 AM
  • Hi,

    sorry for the plug, but to everyone interested in filtering MOSS search results (or including further Web Parts on the results page to be filtered by the search query), you may want to try our very flexible Filter Web Part: http://roxority.com/SharePoint-FilterZen

    Don't hesitate to get back to me with any questions!
    Best regards,
    Philipp Schumann
    Sunday, January 3, 2010 12:26 PM
  • That is not 100% true Paul. The CoreResultsWebPart (and others) can have their Filter set using the following:

     

    Example (put code in OnInit to test it):

    FilterValues.Set("@attributeToFilter", "value to filter");

    OR

    FilterValues.Set("elementToFilter", "value to filter");

    I'm not sure how it works under the covers but it does work. In XSL the @ indicates an attribute whereas an absence of the @ indicates an element. Both refer to the original XML input. You could also filter (or sort) from within your XSL stylesheet but that can cause problems. Btw, in order to apply a filter in a real world scenario try something like ddwrt:GenFireServerEvent('myfilter=myfiltervalue')) and you'll notice that if you set up an IPostBackEventHandler, the "argument" to your RaiseCallBackEvent function will contain the text 'myfilter=myfiltervalue' ... from there, as I said, you can use FilterValues.Set ...

     

    Hope that helps someone, cuz I had to figure it out on my own. To see what the GenFireServerEvent call does, put it in an onclick (or similar) attribute in your XSL, then in the generated html in your browser, go and look at the javascript that got generated.

     

    :p

     

    Thursday, March 17, 2011 9:35 PM