A class of the Microsoft.SharePoint.Search.Query namespace, KeywordQuery represents a search query that uses the Keyword syntax.

learn more… | top users | synonyms

2
votes
1answer
269 views

Restrict Search not to show deleted managed property value

The default SharePoint behavior is to also search documents which have been deleted unless the content has been re-crawled or index is reset. I am using a KeywordQuery to search items with a ...
1
vote
0answers
888 views

Increase KeywordQuery QueryText max length in SP 2010

I am using SharePoint Server 2010. I faced some difficulties with the Core Search Results Web Part. The issue was that my query length was to be about 2500 characters. This long query served to filter ...
2
votes
1answer
892 views

KeywordQuery and Refiners: How to specify a RangeMapping Refiner?

I need to use the KeywordQuery class to connect to a FAST Search Server. I still want to be able to display refiners (much like the default Refiner Web Part). The default refiner web part supports a ...
4
votes
1answer
760 views

Possible to combine KeywordQuery and FullTextSqlQuery?

Basically I would like to get all results that would be returned for a normal keyword query, but I want to filter those results with a WHERE clause. I tried using KeywordQuery or FullTextSqlQuery but ...
0
votes
2answers
1k views

Use Created datetime in keywordquery

I want to use the Created column in my keywoard query, like this: KeywordQuery query = new KeywordQuery(site); query.QueryText = "ContentType=\"Vraag\""; // AND TaskStatus<>Voltooid"; ...
0
votes
1answer
605 views

How to define scope for specific content-type in KeywordQuery class

I can get results with simple text queries but i need to limit the results for a specific content-type. What should i do?
2
votes
1answer
1k views

How to use LastModifiedTime in KeywordQuery?

I've been using FullTextSQLQuery or Search Web Service in my custom search solution till today. Wanted to explore KeywordQuery but usage of 'LastModifiedTime' in query doesn't return search results. ...
1
vote
2answers
5k views

Keyword query string in SharePoint Search

I need to create custom search web part with 3 filters. First filter will have all list names in a dropdown box. Second filter will have particular list column values(only 2 values like active and ...
2
votes
1answer
540 views

Search only document libraries using KeywordQuery

Is it possible using KeywordQuery to pull back all (only) records that are documents in document libraries? Wondering if there is a KeywordQuery.QueryText property I can use for this type of thing.
1
vote
2answers
2k views

Get all items from custom content type in Fast Search

I want to get all items of a custom content type while using fast search. I want to use keyword search but i also could use fql. Can somebody show me how to do this in code? I'm getting restults for ...
5
votes
3answers
2k views

How to enable phonetic results when using KeywordQuery?

I cannot seem to get a custom keyword query to return phonetic results when searching for people. I have FAST search installed, and if I do a people search (in the FAST search center) for "Jon", I ...