File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed 
src/Azure.AISearch.WebApp/Services Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -166,11 +166,11 @@ private SearchResult GetSearchResultForChunksIndex(SearchResult<SearchDocument>
166166            searchResult . Captions . Add ( result . Document . GetString ( nameof ( DocumentChunk . Content ) ) ) ; 
167167        } 
168168        // mjh 
169-         searchResult . DataSource  =  result . Document . GetString ( nameof ( DocumentChunk . SourceDocumentDataSource ) ) ; 
170-         searchResult . SourceUrl  =  result . Document . GetString ( nameof ( DocumentChunk . SourceDocumentSourceUrl ) ) ; 
171-         searchResult . Author  =  result . Document . GetString ( nameof ( DocumentChunk . SourceDocumentAuthor ) ) ; 
172-         searchResult . Type  =  result . Document . GetString ( nameof ( DocumentChunk . SourceDocumentType ) ) ; 
173-         searchResult . PublishDate  =  result . Document . GetDateTimeOffset ( nameof ( DocumentChunk . SourceDocumentPublishDate ) ) ; 
169+         // searchResult.DataSource = result.Document.GetString(nameof(DocumentChunk.SourceDocumentDataSource));
170+         // searchResult.SourceUrl = result.Document.GetString(nameof(DocumentChunk.SourceDocumentSourceUrl));
171+         // searchResult.Author = result.Document.GetString(nameof(DocumentChunk.SourceDocumentAuthor));
172+         // searchResult.Type = result.Document.GetString(nameof(DocumentChunk.SourceDocumentType));
173+         // searchResult.PublishDate = result.Document.GetDateTimeOffset(nameof(DocumentChunk.SourceDocumentPublishDate));
174174
175175        return  searchResult ; 
176176    } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments