Have you tried copyField with different field type for different fields yet? That would be my first step. Make the copied field indexed-only, not stored for efficiency.
And you can then either search against that copied field directly or use eDisMax against both fields and give that field a higher priority. Regards, Alex. ---- Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 30 July 2015 at 10:00, rks_lucene <ppro.i...@gmail.com> wrote: > Hi, > > I need the capability to search for /GATE/ separately from /gate/. > > I cannot remove the lowercase filter factory in both my search and analysis > chains since that will break many other search scenarios. > > Is there a way to payload/mark an ALL CAPS word in the index analyzer chain > before it gets lowercased (by the lowercasefilterfactory) so that I can > search it with some custom grammar and logic in my query parser. > > Say I want: > > Field:_gate to match /GATE/ only > > Field:gate to match both /GATE/ and /gate/ > > Any pointers would be helpful. > > thanks > Ritesh > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Search-for-All-CAPS-words-tp4219893.html > Sent from the Solr - User mailing list archive at Nabble.com.