No but this seems like a decent enhancement request. ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley
On Fri, Aug 9, 2019 at 3:07 AM Jaroslaw Rozanski <m...@jarekrozanski.eu> wrote: > Hi Folks, > > > > Question about query field aliases. > > > > Assuming one has fields: > > * foo1 > * foo2 > Sending "defType=edismax&q=foo:hello&f.foo.qf=foo1 foo2" will work. > > > > But what in case of, when one has fields: > > * foo > * foo1 > Say we want to add behaviour to queries that are already in use. We want > to search in existing "foo" and "foo1" without making query changes. > > > > Sending "defType=edismax&q=foo:hello&f.foo.qf=foo foo1" will *not* work. > The error is "org.apache.solr.search.SyntaxError: Field aliases lead to a > cycle". > > > > So, is there anyway, to extend search query for the existing field without > modifying index? > > > -- > Jaroslaw Rozanski | m...@jarekrozanski.eu >