Please clarify, and try providing a couple more use cases. I mean, the case you provided suggests that the contents of the index will be different between the two fields, while you told us that you wanted to share the same indexed field. In other words, it sounds like you will have two copies of similar data anyway.
Maybe you simply want one copy of the stored value for the field and then have one or more copyfields that index the same source data differently, but don’t re-store the copied source data. -- Jack Krupansky From: Tom Burton-West Sent: Monday, March 04, 2013 3:57 PM To: [email protected] Subject: Ability to specify 2 different query analyzers for same indexed field in Solr Hello, We would like to be able to specify two different fields that both use the same indexed field but use different analyzers. An example use-case for this might be doing query-time synonym expansion with the synonyms weighted lower than an exact match. q=exact_field^10 OR synonyms^1 The normal way to do this in Solr, which is just to set up separate analyzer chains and use a copyfield, will not work for us because the field in question is huge. It is about 7 TB of OCR. Is there a way to do this currently in Solr? If not , 1) should I open a JIRA issue? 2) can someone point me towards the part of the code I might need to modify? Tom Tom Burton-West Information Retrieval Programmer Digital Library Production Service University of Michigan Library http://www.hathitrust.org/blogs/large-scale-search
