What analyzer you are using to index and search? Check out schema.xml. You
are currently using analyzer which breaks the words. If you don't want to
break then you need to use <tokenizer
class="solr.KeywordTokenizerFactory"/>.

Regards
Aditya
www.findbestopensource.com



On Wed, Jun 2, 2010 at 2:41 PM, M.Rizwan <muhammad.riz...@sigmatec.com.pk>wrote:

> Hi,
>
> I have solr 1.4. In schema i have a field called "title" of type "text"
> Now problem is, when I search for "Test_Title" it brings all documents with
> titles like "Test-Title", "Test_Title", "Test,Title, "Test Title",
> "Test.Title"
> What to do to avoid this?
>
> "Test_Title" should only return documents having title "Test_Title"
>
> Any idea?
>
> Thanks
>
> - Riz
>

Reply via email to