Re: Extending fieldtypes

2013-08-13 Thread Erick Erickson
This has been mentioned before, but it's never been implemented. It's a pain to copy/paste the full field definition, but the utility of "subclassing" fieldTypes is really pretty restricted. How, for instance, would you, say, tweak the parameters to WordDelimiterFilterFactory in your sub-field? And

Re: Extending fieldtypes

2013-08-12 Thread Bruno René Santos
Hi, Example: I want that stringTweakedNoIDF would be a stringTweaked but with the extra similarity. Regards Bruno On Mon, Aug 12, 2013 at 3:07 PM, tamanjit.bin...@yahoo.co.in < tamanjit.bin...@yahoo.co.in> wrote: > You would need to p

Re: Extending fieldtypes

2013-08-12 Thread tamanjit.bin...@yahoo.co.in
You would need to provide a Solr file that would be the basic field type and do rest of analysis on it. Is this what you want? eg. fieldType name="textSpellPhrase" class="solr.TextField" positionIncrementGap="100" stored="false" multiValued="true"> -- View this message in context: http://lucen

Re: Extending fieldtypes

2013-08-12 Thread Alexandre Rafalovitch
What are trying to achieve specifically? Reuse chain definitions? Regards, Alex On 12 Aug 2013 09:41, "Bruno René Santos" wrote: > Hi, > > Is it possible to extend a fieldtype from another fieldtype on the > schema.xml? > > Regards > Bruno > > -- > Bruno René Santos > Lisboa - Portugal >