Re: Field exist in schema.xml but returns

2013-04-09 Thread deniz
Raymond Wiker wrote
 You have misspelt the tag name in the field definition... you have fiald
 instead of field.

thank you Raymond, it was really hard to find it out in a massive schema
file



-
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Field-exist-in-schema-xml-but-returns-tp4054634p4054903.html
Sent from the Solr - User mailing list archive at Nabble.com.


Field exist in schema.xml but returns

2013-04-08 Thread deniz
hi all, I am using solrcloud and running some simple test queries... though i
am getting a undefined field error for a field that I have in my schema.xml

so the query is

myField:*

and response is:

response
  lst name=responseHeader
int name=status400/int
int name=QTime3/int
lst name=params
  str name=wtxml/str
  str name=qmyField:*/str
   /lst
  /lst
  lst name=error
str name=msgundefined field myField/str
int name=code400/int
  /lst
/response




and this is how my schema.xml looks like:
..
 field name=field1 type=tint indexed=true stored=true/
 fiald name=myField type=long indexed=true stored=true/
 field name=field3 type=tint indexed=true stored=true/
..

Any ideas what the reason could be? 



-
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Field-exist-in-schema-xml-but-returns-tp4054634.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Field exist in schema.xml but returns

2013-04-08 Thread Raymond Wiker
You have misspelt the tag name in the field definition... you have fiald
instead of field.


On Tue, Apr 9, 2013 at 7:43 AM, deniz denizdurmu...@gmail.com wrote:

 hi all, I am using solrcloud and running some simple test queries...
 though i
 am getting a undefined field error for a field that I have in my schema.xml

 so the query is

 myField:*

 and response is:

 response
   lst name=responseHeader
 int name=status400/int
 int name=QTime3/int
 lst name=params
   str name=wtxml/str
   str name=qmyField:*/str
/lst
   /lst
   lst name=error
 str name=msgundefined field myField/str
 int name=code400/int
   /lst
 /response




 and this is how my schema.xml looks like:
 ..
  field name=field1 type=tint indexed=true stored=true/
  fiald name=myField type=long indexed=true stored=true/
  field name=field3 type=tint indexed=true stored=true/
 ..

 Any ideas what the reason could be?



 -
 Zeki ama calismiyor... Calissa yapar...
 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/Field-exist-in-schema-xml-but-returns-tp4054634.html
 Sent from the Solr - User mailing list archive at Nabble.com.