Re: priority of query results with text alternates

2024-10-05 Thread Ralf Heyde
Hey,In case I have such an issue, i usually tend to use more than one field with different analyzer setups and weight/multiply score them individually for each field (index / query).BoostQuery (Lucene 9.11.0 core API)lucene.apache.orgThat may solve it. CheersVon meinem Telefon gesendet, etwaige Rec

priority of query results with text alternates

2024-10-05 Thread Trevor Nicholls
(Currently using Lucene 8_6_3, although not averse to moving to a later release if there's a recent feature I need for this) My application searches technical documents, a mix of normal text, source code and expressions involving more than letters and digits. The users want to be able to se