Re: "Avoiding" a schema.xml

2015-05-03 Thread Erick Erickson
OK, I don't think you actually need the managed schema stuff (although you could use it). So, you're analyzing these docs and making guesses (educated guesses, probably very sophisticated guesses, but guesses) about what kind of thing it is (numeric, name, city, concept, whatever). You can simply

Re: "Avoiding" a schema.xml

2015-05-02 Thread Sznajder ForMailingList
Thanks! Indeed, one of my issues is that I can not know about the fields to be indexed before seeing (and making some entity extraction) on the browsed documents. It is the reason I thought to avoid the schema definition ... The schema API sounds interesting! Does it exist via SolrJ? Many thanks

Re: "Avoiding" a schema.xml

2015-04-30 Thread Erick Erickson
Could you explain a bit more _why_ you want to do this? As you're probably well aware, there are multiple ways to shoot yourself in the foot in lower-level Lucene. If you have some situation where you're creating indexes on the fly that may vary then you could consider the "managed schema" that le

Re: "Avoiding" a schema.xml

2015-04-30 Thread Shawn Heisey
On 4/30/2015 8:43 AM, Sznajder ForMailingList wrote: > I am interested to index some documents in Solr, as I did in Lucene. > > I mean: giving via solrJ all the information about the field I am adding > (Tokenize, store, facet etc...) > > can we do that? Or is it mandatory to define a schema on the

"Avoiding" a schema.xml

2015-04-30 Thread Sznajder ForMailingList
Hi, I am interested to index some documents in Solr, as I did in Lucene. I mean: giving via solrJ all the information about the field I am adding (Tokenize, store, facet etc...) can we do that? Or is it mandatory to define a schema on the collection? Thanks a lot! Benjamin