Paolo Castagna
2010-05-05 13:14:52 UTC
Hi,
I have an existing Lucene application which I want to port to Solr.
A scenario I need to support requires me to use dynamic fields
with Solr, since users can add new fields at runtime.
At the same time, the existing Lucene application is using a
PerFieldAnalyzerWrapper in order to use different analyzers
for different fields.
One possible solution (server side) requires a custom QParser
which would use a PerFieldAnalyzerWrapper, but perhaps
there is a better (client side only) way to do that.
Do you have any suggestion on how I could use per field
analyzers with dynamic fields?
Regards,
Paolo
I have an existing Lucene application which I want to port to Solr.
A scenario I need to support requires me to use dynamic fields
with Solr, since users can add new fields at runtime.
At the same time, the existing Lucene application is using a
PerFieldAnalyzerWrapper in order to use different analyzers
for different fields.
One possible solution (server side) requires a custom QParser
which would use a PerFieldAnalyzerWrapper, but perhaps
there is a better (client side only) way to do that.
Do you have any suggestion on how I could use per field
analyzers with dynamic fields?
Regards,
Paolo