Re: analyzer context during search

2018-04-13 Thread Chris Tomlinson
Hi, Thanks for the thoughts. I agree a combinatorial explosion of fields and index size would “solve” the problem but the cost is rather absurd. Hence, I posed the problem to prompt some discussion about what a plausible/reasonable solution might be. It has seemed to be for some time that ther

Re: analyzer context during search

2018-04-12 Thread Michael Sokolov
I think you can achieve what you are asking by having a field for every possible combination of pairs of input and output. Obviously this would explode the size of your index, so it's not ideal. Another alternative would be indexing all variants into a single field, using different analyzers for d

analyzer context during search

2018-04-11 Thread Chris Tomlinson
Hello, I’m working on a project where it would be most helpful for getWrappedAnalyzer() in an extension to DelegatingAnalyzerWrapper to have access to more than just the fieldName. The scenario is that we are working with several languages: Tibetan, Sanskrit and Chinese; that each have several