Re: SolrUser - ERROR:SCHEMA-INDEX-MISMATCH

2010-05-14 Thread Anderson vasconcelos
Thanks for the helps. The field is just for filter my data. They are: client_id, instance_id. When i index my data, i put de identifier of client (Because my application is a multiclient). When i search in solr, i wanna to find the docs where client_id:1, as example. Put the field as string, this w

Re: SolrUser - ERROR:SCHEMA-INDEX-MISMATCH

2010-05-13 Thread Erick Erickson
This is probably a bad idea. You're getting by on backwards compatibility stuff, I'd really recommend that you reindex your entire corpus, possibly getting by on what you already have until you can successfully reindex. Have a look at trie fields (this is detailed in the example schema.xml). Here'

Re: SolrUser - ERROR:SCHEMA-INDEX-MISMATCH

2010-05-13 Thread Anderson vasconcelos
Hi Erick. I put in my schema.xml fields with type string. The system go to te production, and now i see that the field must be a long field. When i change the fieldtype to long, show the error ERROR:SCHEMA-INDEX-MISMATCH when i search by solr admin. I Put "plong", and this works. This is the way

Re: SolrUser - ERROR:SCHEMA-INDEX-MISMATCH

2010-05-13 Thread Erick Erickson
Not at present, you must re-index your documents when you redefine your schema to change existing documents. Field updating of documents already indexed is being worked on, but it's not available yet. Best Erick On Thu, May 13, 2010 at 3:58 PM, Anderson vasconcelos < anderson.v...@gmail.com> wro

SolrUser - ERROR:SCHEMA-INDEX-MISMATCH

2010-05-13 Thread Anderson vasconcelos
Hi All. I have the follow fields in my schema: I need to change the index of SOLR, adding a dynamic field that will contains all values of "value" field. Its possible to get all index data and reindex, putting the values on my dynamic field? How the data was no stored, i don't find one wa