mraible opened a new pull request, #280:
URL: https://github.com/apache/roller/pull/280

   Adds a CHANGES note for a search change that came with Lucene 10 (#261).
   
   Roller's search parser uses AND between words. In Lucene 9, the parts of a 
word the analyzer splits (`spring-boot`, `AT&T`) were OR'd; Lucene 10's 
`MultiFieldQueryParser` applies the default operator to them too. Parsing with 
both versions:
   
   - Lucene 9.12.3: `spring-boot` => `(content:spring title:spring 
c_content:spring) (content:boot title:boot c_content:boot)`
   - Lucene 10.6.0: `spring-boot` => `+(content:spring title:spring 
c_content:spring) +(content:boot title:boot c_content:boot)`, the same as 
`spring boot`
   
   On a copy of raibledesigns.com, `spring-boot` went from 741 results to 59, 
`t-mobile` from 245 to 12, `AT&T` from 2,190 to 129 and `wi-fi` from 19 to 14. 
Single words are unchanged. No code changes; it's more precise, so this just 
tells users why results shrink.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to