none
FREETEXT in FAST FQL RRS feed

  • Question

  • hi,

    What is the eqivalent for FREETEXT in fql ?

    for example how do i write this in fql ? "FREETEXT(defaultproperties, 'some search',1037)"

    Sunday, January 1, 2012 2:36 PM

Answers

  • Hi Mikael

    FREETEXT is searching on the default properties and the content (body) of the documents.

    will using your syntax will get me a search only on the properties or the content too ?

     

    • Marked as answer by liorg gal TLV Monday, January 2, 2012 12:34 PM
    Monday, January 2, 2012 9:00 AM
  • Hi,

    "Content" will search in title, doctitle, keywords, urlkeywords, description, author, createdby, modifiedby, body (text of a document), and any crawled property check with "Include values for this property in the search index".

    So, both metadata and the content inside of documents. This is what happens when you search with the Search Center as well. It will search in the "content" fields which is a composite of the above mentioned managed properties.

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    • Marked as answer by liorg gal TLV Monday, January 2, 2012 12:34 PM
    Monday, January 2, 2012 10:53 AM

All replies

  • Hi,

    The equivalent would be:

    string("some search", mode="simpleany")
    
    or
    
    content:string("some search", mode="simpleany")


    "content" is the same as defaultproperties, as it will search in all default managed properties. Omitting "content" will make it default to that full text index (if you haven't changed your default installation).

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    Sunday, January 1, 2012 10:55 PM
  • Hi Mikael

    FREETEXT is searching on the default properties and the content (body) of the documents.

    will using your syntax will get me a search only on the properties or the content too ?

     

    • Marked as answer by liorg gal TLV Monday, January 2, 2012 12:34 PM
    Monday, January 2, 2012 9:00 AM
  • Hi,

    "Content" will search in title, doctitle, keywords, urlkeywords, description, author, createdby, modifiedby, body (text of a document), and any crawled property check with "Include values for this property in the search index".

    So, both metadata and the content inside of documents. This is what happens when you search with the Search Center as well. It will search in the "content" fields which is a composite of the above mentioned managed properties.

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    • Marked as answer by liorg gal TLV Monday, January 2, 2012 12:34 PM
    Monday, January 2, 2012 10:53 AM
  • Thanks !!
    Monday, January 2, 2012 12:34 PM