Search for a field whose value contains instead of begins with

2009-03-06 Thread Shyamsunder Reddy
I am indexing a document with field 'name'. The values of the field 'name' are like: Apple Corp, Apple iPod, Apple Games, Indian Apple, West Apple Corporation and  The Applemint Gimlet. Now my question is how to configure the field 'name' in my Solr configuration and schema, so that when I sea

Re: Search for a field whose value contains instead of begins with

2009-03-06 Thread Shyamsunder Reddy
Thanks. I have configured the field as text and search is working fine. But the results are not properly sorted. field "name" value is some company names in NY. Here is my search query: http://localhost:8090/solr/select?fq=TYPE:ORG&q=NAME:new%20york&sort=NAME%20desc&rows=100&fl=NAME here is my

Re: Solr search with Auto Spellchecker

2009-03-17 Thread Shyamsunder Reddy
I have the same question in mind. How can I configure the same standard request handler to handle the spell check for given query? I mean instead of calling http://localhost:8983/solr/spellCheckCompRH?q=*:*&spellcheck.q=globl for spelling checking the following query request should take care of

Re: How to use spell checker

2009-03-17 Thread Shyamsunder Reddy
How can I configure the same standard request handler to handle the spell check for given query? I mean instead of calling http://localhost:8983/solr/spellCheckCompRH?q=*:*&spellcheck.q=elepents for spelling checking the following query request should take care of both querying and spell checkin

Re: spellchecker: returning results even with misspelt words

2009-03-17 Thread Shyamsunder Reddy
I think if you use spellcheck.collate=true, you will still receive the results for correct word and suggestion for wrong word. I have name field (which is first name+last name) configured for spell check. I have name entry: GUY  SHUMAKER. I am trying to find out person names where either 'GUY' or

Solr SpellCheker configuration for multiple fields same time

2009-03-17 Thread Shyamsunder Reddy
My advanced search option allows users to search for three different fields same time. The fields are - first name, last name and org name. Now I have to add spell checking feature for the fields. When wrong spelling is entered for each of these words like first name: jahn, last name: smath, or

DIH - read datasource param values from property file or configure JNDI datasource

2009-03-19 Thread Shyamsunder Reddy
I am looking for a implementation of DIH feature: It also takes in a properties file for the data source configuration (http://issues.apache.org/jira/browse/SOLR-469) I want to externalize the data source parameters like driver, url, user and password to property file outside the solr. My aim