Re: Multiword synonyms and term wildcards/substring matching

2021-03-02 Thread Martin Graney
Hi Alex Thanks for the reply. We are not using the 'copyField bucket' approach as it is inflexible. Our textual fields are all multivalued dynamic fields, which allows us to craft a list of `pf` (phrase fields) with associated weighting boosts that are meant to be used in the search on a *per-coll

Re: Multiword synonyms and term wildcards/substring matching

2021-03-02 Thread Alexandre Rafalovitch
I admit to not fully understanding the examples, but ComplexQueryParser looks like something worth at least reviewing: https://lucene.apache.org/solr/guide/8_8/other-parsers.html#complex-phrase-query-parser Also I did not see any references to trying to copyField and process same content in diffe

Multiword synonyms and term wildcards/substring matching

2021-03-02 Thread Martin Graney
Hi All I have been trying to implement multi word synonyms using `sow=false` into a pre-existing system that applied pre-processing to the phrase to apply wildcards around the terms, i.e. `bread stick` => `*bread* *stick*`. I got the synonyms expansion working perfectly, after discovering the `pr