none
Get Similar Items in Fast for Sharepoint 2010 RRS feed

  • Question

  • 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 > QueryText 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 :(


    Best regards,
    Yavuz B.

    My Sharepoint and Enterprise 2.0 Blog http://www.bogazci.com | Microsoft Sharepoint Resources & Blog List



    • Edited by [Yavuz B.] Friday, February 21, 2014 12:25 PM
    Wednesday, January 22, 2014 9:27 AM