none
How to custom the advanced search properties crawling by jdbc RRS feed

  • Question

  • hi

        we have a request that let user use the advanced search to find the result they want

        

       according to this picture ,is there any possible to add my own properties here.

       for example,

       in search results,we have a custom property called "Sinumber" ,we want to filter the results for that we want to find (sinumber >= 1000),

      or is there any way to get the results where  (eg: Sinumber >= 100 AND "other number" <= 200).

      So ,may be we should both custom the "created by" dropdonwlist and  the "Contains" dropdownlist .

      any way ,may be my idea is wrong.

      hope for perfect solution,thank you very much.

    best regards

    Fiyoung


    In God We Trust

    Monday, June 25, 2012 2:20 AM

Answers

  • Yes, you can use custom properties there. They must be configured as managed properties.

    Edit the page and edit the properties of the Advanced Search Box Web Part. You'll find the Properties tab & configuration option, where the properties are listed. Just add the one you want to PropertyDefs and you will be able to use it.


    Alex Ferreira :: Blog: http://sharepointsofview.blogspot.com/ :: Twitter: @alexaem

    • Proposed as answer by Ferreira, Alex Tuesday, June 26, 2012 2:25 PM
    • Marked as answer by Fiyoung Friday, June 29, 2012 7:01 AM
    Monday, June 25, 2012 3:44 PM

All replies

  • Yes, you can use custom properties there. They must be configured as managed properties.

    Edit the page and edit the properties of the Advanced Search Box Web Part. You'll find the Properties tab & configuration option, where the properties are listed. Just add the one you want to PropertyDefs and you will be able to use it.


    Alex Ferreira :: Blog: http://sharepointsofview.blogspot.com/ :: Twitter: @alexaem

    • Proposed as answer by Ferreira, Alex Tuesday, June 26, 2012 2:25 PM
    • Marked as answer by Fiyoung Friday, June 29, 2012 7:01 AM
    Monday, June 25, 2012 3:44 PM
  • Yes, you can use custom properties there. They must be configured as managed properties.

    Edit the page and edit the properties of the Advanced Search Box Web Part. You'll find the Properties tab & configuration option, where the properties are listed. Just add the one you want to PropertyDefs and you will be able to use it.


    Alex Ferreira :: Blog: http://sharepointsofview.blogspot.com/ :: Twitter: @alexaem

    hi 

        this solution is perfect,recently i know how to add my own properties to advanced search,thank you

        But,here is my new problem.

        We have a property called "numpoly"(integer type).i want to add this property in advanced search.

        1. add new managed property in CA mapping to "numpoly"(integer type) called NumPoly

        2. edit "Search Core Results",add <Column Name="numpoly"/> in "Fetched Properties"

        3. recrawl the data using jdbc

        the problem come,in xml results <numpoly></numpoly>,there is no value here,this problem happened before,but haven't resolved .

        it's strange that if the properties is text type not interger type or other type,in xml results ,it works fine.Nothing but text type!!!

       So,the integer type properties have no value any way,and it lead to that  it's no use to add this integer type property in advanced search.

    i mention this problem before

    http://social.technet.microsoft.com/Forums/en-US/fastsharepoint/thread/9f5dffb8-26db-4630-b404-aa72a20a7655

    somebody help me?

    thank you very much

    Fiyoung

       


    In God We Trust



    • Edited by Fiyoung Thursday, June 28, 2012 9:34 AM edit
    Thursday, June 28, 2012 9:27 AM
  • hi

       Today is a lucky day ,it's ok now by setting "integer type" managed property mapping to "integer type" crawled properties.

       

    In God We Trust

    Friday, June 29, 2012 7:01 AM