Windows Desktop Search not returning QueryFocusedSummary

前端 未结 2 1513
没有蜡笔的小新
没有蜡笔的小新 2021-01-14 07:15

When searching through files indexed using Windows Desktop Search, it would be nice if I could see a snippet of the text within the document that is related to the search t

2条回答
  •  深忆病人
    2021-01-14 07:58

    Since you didn't post any code I have to speculate a bit...

    I assume you are using OleDB/SQL to execute a query...

    Neither QueryFocusedSummary nor QueryFocusedSummaryWithFallback are real columns and thus NOT available via OleDB/SQL !

    The only columns available this way are AFAIK

    AutoSummary 
    Contents 
    EntryID 
    GatherTime 
    Rank 
    Store 
    

    QueryFocusedSummary and QueryFocusedSummaryWithFallback are IIRC properties accessiable via COM or a Shell interface .

提交回复
热议问题