Re: Quering the database

2010-08-03 Thread Hando420
Thanks these links were useful. Managed to figured out what i needed. Cheers Hando -- View this message in context: http://lucene.472066.n3.nabble.com/Quering-the-database-tp1015636p1018896.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Quering the database

2010-08-03 Thread Geert-Jan Brits
No. With Solr is really flexible and allows for a lot of complex querying out-of-the-box. Really the Wiki is your best friend here. http://wiki.apache.org/solr/ perhaps start with: 1. http://lucene.apache.org/solr/tutorial.html 2. http://wiki.apache.org/solr/SolrQuerySyntax 3. http://wiki.apache.o

Re: Quering the database

2010-08-02 Thread Hando420
Thanks alot to all now its clear the problem was in the schema. One more thing i would like to know is if the user queries for something does it have to always be like q=field:monitor where field is defined in schema and monitor is just a text in a column. Hando -- View this message in context:

Re: Quering the database

2010-08-02 Thread Geert-Jan Brits
you should (as per the example) define the field as text in your solr-schema not in your RDB. something like: then search like: q=field_1:monitors the example schema illustrates a lot of the possibilities on how you to define fields and what is all means. Moreover have a look at: http://wiki.ap

RE: Quering the database

2010-08-02 Thread Hando420
Thank you for your reply. Still the the problem persists even i tested with a simple example by defining a column of type text as varchar in database and in schema.xml used the default id which is set to string. Row is fetched and document created but searching doesn't give any results of the cont

RE: Quering the database

2010-08-02 Thread Fornoville, Tom
mailto:hando...@gmail.com] Sent: maandag 2 augustus 2010 13:42 To: solr-user@lucene.apache.org Subject: Re: Quering the database Thank you for your reply. Below is my data-config details. Below are the defined schema f

Re: Quering the database

2010-08-02 Thread Hando420
Thank you for your reply. Below is my data-config details. Below are the defined schema fields for the data-config field_1 text -- View this message in context: http://lucene.472066.n3.nabble.com/Querin

Re: Quering the database

2010-08-02 Thread Rafal Bluszcz Zawadzki
On Mon, Aug 2, 2010 at 1:28 PM, Hando420 wrote: > > Hi, > > I am new to solr. I am indexing data from data using solr. Everything is > working fine the documents are indexed and using *:* as a query keyword i > am > able to get all the results from the table. My problem is now if i want to > quer