Re: Solr query issues

2012-05-10 Thread anarchos78
I am newbie in "Solr" thing. But with your advices i am in track now (sort of way). It seems that "Lucene" community is responsible, and fortunately it doesn't turns its back to newbies! Thank you guys, Tom -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-issues-tp3

Re: Solr query issues

2012-05-09 Thread Lance Norskog
e----- From: anarchos78 > Sent: Wednesday, May 09, 2012 5:04 PM > To: solr-user@lucene.apache.org > Subject: Re: Solr query issues > > > I have imported data from a database. When i set a type different than > string > solr throws error: Unknown fieldtype 'text' s

Re: Solr query issues

2012-05-09 Thread Jack Krupansky
lds that have text you want to search on. Then the (text) string fields would be searchable by default. -- Jack Krupansky -Original Message- From: anarchos78 Sent: Wednesday, May 09, 2012 5:04 PM To: solr-user@lucene.apache.org Subject: Re: Solr query issues I have imported data from

Re: Solr query issues

2012-05-09 Thread anarchos78
I have imported data from a database. When i set a type different than string solr throws error: Unknown fieldtype 'text' specified on field biog at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:511) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-i

Re: Solr query issues

2012-05-09 Thread anarchos78
Can you give me any example on how to do this? I am really stuck Thank you in advance -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-issues-tp3974922p3975384.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr query issues

2012-05-09 Thread Dmitry Kan
Well, that's not gonna work, because your search field is just a string, so a literal search against it would only work. You should instead define the search field type to have analyzers and / or tokenizers, in case of course it contains some form of to be searchable text. Have a look at text_en, f

Re: Solr query issues

2012-05-09 Thread anarchos78
Yes i have already done it! The schema.xml file is:

Re: Solr query issues

2012-05-09 Thread Dmitry Kan
Hi, Have you defined your default search field in the schema.xml? If not or in doubt, just prefix your query specifically with a field name, smth like q=search_field_name:word -- Dmitry On Wed, May 9, 2012 at 9:12 PM, anarchos78 wrote: > Hello, > I have successfully installed “Solr 3.6” over “T