ldqk opened a new issue, #1157:
URL: https://github.com/apache/lucenenet/issues/1157

   ### Is there an existing issue for this?
   
   - [x] I have searched the existing issues
   
   ### Describe the bug
   
   ``` csharp
   var query = new 
MultiFieldQueryParser(Lucene.Net.Util.LuceneVersion.LUCENE_48, fields, 
analyzer, new Dictionary<string, float>
               {
                   { "title", 2.0f }, // set 2.0 or 1.0,the following result 
docs Score property is the same
                   { "keyword", 1.0f }
               }).Parse("ldqk");
   var sort = new Sort([new SortField("title",SortFieldType.STRING)]);
   var docs = indexSearcher.Search(query, filter,10, sort, true, 
true).ScoreDocs;
   ```
   
   ### Expected Behavior
   
   Set the different boosts parameter,the docs Score is different
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Exceptions (if any)
   
   _No response_
   
   ### Lucene.NET Version
   
   4.8.0-beta00017
   
   ### .NET Version
   
   .NET 9
   
   ### Operating System
   
   Windows 11
   
   ### Anything else?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to