Get similar results

Hi,

i am trying to get similar results for a document. How do i have to build my query to get similar results?

<QueryPacket xmlns='urn:Microsoft.Search.Query'>
	<Query>

	<SupportedFormats>
		<Format revision='1'> urn:Microsoft.Search.Response.Document:Document</Format>
	</SupportedFormats>
	
	<Context>
		<QueryText language='en' type='FQL'>" & query & "</QueryText>
	</Context>
        
	<ResultProvider>FASTSearch</ResultProvider>" & _
        <TrimDuplicates>false</TrimDuplicates>"

	<FindSimilar>
        	<SimilarTo>" & docvector & "</SimilarTo>
	</FindSimilar>

	</Query>
</QueryPacket>

What do i have to put in the Context > Query part ?

For example: I have a document1.docx. I find this one and get the docvector information. After that i put the docvector info into a new query in the Findsimilar > SimilarTo Section.

But what do i have to put in the Context > Query section? Do i need to provide anything here? Can someone give me a sample? THere is nothing you can find about FindSimilar on the net :(

February 20th, 2014 5:18pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics