Hi, I'm migrating a project from Lucene 2.9 to Solr 3.4. There is a special case in the code that indexes the same field in two different ways, which is completely legal in Lucene directly but I don't know how to duplicate this same behavior in Solr:
if (isFirstGeo) { document.add(new Field("geoids", geoId, Field.Store.YES, Field.Index.NOT_ANALYZED_NO_NORMS)); isFirstGeo = false; } else { if (countProducts < 100) document.add(new Field("geoids", geoId, Field.Store.NO, Field.Index.NOT_ANALYZED_NO_NORMS)); else document.add(new Field("geoids", geoId, Field.Store.YES, Field.Index.NO)); } Is there any way to do this in Solr in a Tranformer? I'm using the DIH to index and I can't see a way to do this other than having three fields in the schema like geoids_store_index, geoids_nostore_index, and geoids_store_noindex. Thanks a lot in advance. Maria [cid:74B38F9C-DD1D-40C6-A4DE-F47F201A5DF3]