RE: synonym question

2022-03-14 Thread Trevor Nicholls
Just to confirm, escaping the spaces in synonym table construction, query construction, or both, does not solve the problem. -Original Message- From: Trevor Nicholls Sent: Tuesday, 15 March 2022 05:02 To: java-user@lucene.apache.org Subject: RE: synonym question Hi, thanks for such a q

RE: Re: Custom scores and sort

2022-03-14 Thread Claude Lepere
Adrien, thank you for your answer and sorry for the lack of clarity. No, the score of a document does not depend on the score of another document, the problem lies within a document. There are several "only once score" fields; to simplify, I suppose there is only one "only once score" field; a do

RE: synonym question

2022-03-14 Thread Trevor Nicholls
Hi, thanks for such a quick response! No I hadn't thought of that. In how many of the following would I need to do this: - synonym map creation - analyzing text for indexing - analyzing text for querying If either of the latter two then I can see lots of complications ensuing; it more or less m

Re: synonym question

2022-03-14 Thread Bernd Fehling
Hello, just a guess, have you tried escaping the space in your multi-word terms with backslash? isoweek,iso\ week Regards Bernd Am 14.03.22 um 15:54 schrieb Trevor Nicholls: I have technical data which I am querying with Lucene; one of the features of the content is that a large number of te

synonym question

2022-03-14 Thread Trevor Nicholls
I have technical data which I am querying with Lucene; one of the features of the content is that a large number of technical terms may be written as multiple words or as a compound word. For example, ISOWEEK or ISO WEEK. Or SynonymFilter or synonym filter. I have a synonym table which includes

Re: Custom scores and sort

2022-03-14 Thread Adrien Grand
It's a bit hard for me to parse what you are trying to do, but it looks like you are making assumptions about how Lucene works internally that are not correct. Do I understand correctly that your scoring mechanism has dependencies on other documents, ie. the score of a document could depend on the