lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From findbestopensource <findbestopensou...@gmail.com>
Subject Re: Query Question
Date Wed, 02 Jun 2010 09:45:00 GMT
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.rizwan@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message