Re: creating SchemaField and FieldType programmatically

2012-06-02 Thread Mike Sokolov
Oh yes, final followup for the terminally curious; I also had to add this little class in order to get analysis turned on for my programmatic field: class PathField extends TextField { PathField (IndexSchema schema) { setAnalyzer(new WhitespaceGapAnalyzer());

Re: creating SchemaField and FieldType programmatically

2012-06-02 Thread Mike Sokolov
ok, never mind all is well - I had a mismatch between the schema-declared field and my programmatic field, where I was overzealous in using OMIT_TF_POSITIONS. -Mike On 6/2/2012 5:02 PM, Mike Sokolov wrote: I'm creating a some Solr plugins that index and search documents in a special way, and