Re: Query Partial Matching on auto schema

2017-08-17 Thread Erick Erickson
You can 1> use the "managed schema API", see: https://lucene.apache.org/solr/guide/6_6/schema-api.html#schema-api or 2> switch to "classic schema", see: https://lucene.apache.org/solr/guide/6_6/schema-factory-definition-in-solrconfig.html or 3> You can actually edit that file if you do it offline.

Re: Query Partial Matching on auto schema

2017-08-17 Thread Guilleret Florian
Thanks you for your answer. So i saw that in solrconfig.xml i got : true managed-schema And in file managed-schema i got all the schema : But solr tell to not edit the managed-schema. So where do i need to put this : ? Guilleret Florian

Re: Query Partial Matching on auto schema

2017-06-23 Thread Erick Erickson
I simply do not recommend going to production with schemaless. That mechanism must make certain assumptions about the data and simply cannot anticipate all the types of searching you need to do. As Alessandro says, you can define whatever you want "by hand" and still have schemaless add input. It

Re: Query Partial Matching on auto schema

2017-06-23 Thread alessandro.benedetti
Quoting the official solr documentation : " You Can Still Be Explicit Even if you want to use schemaless mode for most fields, you can still use the Schema API to pre-emptively create some fields, with explicit types, before you index documents that use them. Internally, the Schema API and the Sc

Re: Query Partial Matching on auto schema

2017-06-23 Thread Guilleret Florian
Yes I mean schemaless. Then with schemaless its impossible to have what I expect ? Guilleret Florian Tel : +33 6 21 28 43 06 2017-06-23 12:26 GMT+02:00 alessandro.benedetti : > With automatic schema do you mean schemaless ? > You will need to define a schema manag

Re: Query Partial Matching on auto schema

2017-06-23 Thread alessandro.benedetti
With automatic schema do you mean schemaless ? You will need to define a schema managed/old legacy style as you prefer. Then you define a field type that suites your needs ( for example with an edge n-gram token filter[1] ). And you assign that field type to a specific field. Than in your request