none
IsDocument managed property. RRS feed

  • Question

  • Good day,

    I have a trouble, in my "FAST Search Query Service Application" I've created new scope - "Documents" (I want see results which included everything except WebPages, Libraries and Lists). In this scope rule - IsDocument = 1, behavior - Include.

    The finally FQL looks like (for getting this data, I use the "FS4SP Query Logger" tool):

    "string(
        "sharepoint",
         annotation_class="user",
         mode="simpleall"
    ) AND filter(
        and(
            isdocument:"1"
        )
    )"

    After full crawling.

    But results is empty. Why? If I search without "IsDocument:1" sharepoint show me a search data.

     

    Statistics of my scope:

    Rule Behavior Item Count (approximate)
    All Content Include (all items)
    IsDocument = 1 Include 6
    Total: 40

    Please help me to resolve my problem.

    Best regards,

    Sorry for my english

    Friday, November 25, 2011 6:23 AM

Answers

  • Try changing your query from

    IsDocument:"1"
    to

    IsDocument:"true"

     

    If that still doesn't work then execute the query that returns some results and take a look a the IsDocument managed property value in FS4SP Query Logger to verify that it's actually set to the value you expect to see.

    Sunday, November 27, 2011 2:30 AM
  • Solution for me:

    1. Create managed property - int type
    2. Map to "Basic:22", "sharepoint:isDocument", "sharepoint:isDocument" crawled properties
    3. Create new scope
    4. Add rule with my managed property, behavior include = 1
    5. Full crawling

    profit :)


    Best regards, Nikolay
    • Marked as answer by Nikolay Em Friday, December 2, 2011 4:52 AM
    Friday, December 2, 2011 4:51 AM

All replies

  • Hi Nikolay

    You do not say whether just searching for "isdocument:1" directly in the search box yields the expected results. In other words, does it never work, or does it just not work in a scope?

    Regards


    Thomas Svensen | Microsoft Consulting Services
    Friday, November 25, 2011 9:17 AM
    Moderator
  • Hello Thomas,

    I've tried to search directly (in search input box - "IsDocument:1"), but it does not work too.


    Best regards, Nikolay
    Friday, November 25, 2011 9:24 AM
  • Try changing your query from

    IsDocument:"1"
    to

    IsDocument:"true"

     

    If that still doesn't work then execute the query that returns some results and take a look a the IsDocument managed property value in FS4SP Query Logger to verify that it's actually set to the value you expect to see.

    Sunday, November 27, 2011 2:30 AM
  • Yes it works!

    But why when I try change value for Managed Property in CA, it doen't work?

    SharePoint replace "true" value to "1"

     


    Best regards, Nikolay
    • Edited by Nikolay Em Monday, November 28, 2011 5:46 AM
    Monday, November 28, 2011 5:45 AM
  • I've tried the default Search Service and it works, I've created new search scope and one rule - IsDocument:1, after searching sharepoint returned to me a results.
    Best regards, Nikolay
    • Edited by Nikolay Em Tuesday, November 29, 2011 11:20 AM
    Tuesday, November 29, 2011 11:10 AM
  • Solution for me:

    1. Create managed property - int type
    2. Map to "Basic:22", "sharepoint:isDocument", "sharepoint:isDocument" crawled properties
    3. Create new scope
    4. Add rule with my managed property, behavior include = 1
    5. Full crawling

    profit :)


    Best regards, Nikolay
    • Marked as answer by Nikolay Em Friday, December 2, 2011 4:52 AM
    Friday, December 2, 2011 4:51 AM