lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elaine Li <elaine.bing...@gmail.com>
Subject Re: Not return my expected contents
Date Mon, 24 Aug 2009 20:16:51 GMT
Thanks. The fieldtype without the porter filter works for my case.
I appreciate your information very much.

Elaine

On Sat, Aug 22, 2009 at 9:02 PM, Lance Norskog<goksron@gmail.com> wrote:
> These text types 'stem' the words arabic, arabian, and arabs to 'arab'.
>
> http://wiki.apache.org/solr/SchemaDesign
>
> The Porter classes in the text definitions do this process.  You want a
> field type without stemming. In Solr 1.3, the field type 'textSpell' and in
> Solr 1.4 'textgen' do not have these.
>
> The Analysis page lets you see how a text field definition changes query
> text and indexed text.
>
> http://localhost:8983/solr/admin/analysis.jsp
>
> On Fri, Aug 21, 2009 at 6:59 PM, Avlesh Singh <avlesh@gmail.com> wrote:
>
>> >
>> > "The Arab Presense" is returned when I search for ("arabic").
>> > "to confirm the existence of many communities.." is returned when i
>> search
>> > for ("the existing").
>> >
>>
>> All such results are returned back due to something known as stemming. The
>> stock "text" field definition comes bundled with a stem filter factory
>> applied during indexing as well as searching.
>>
>> In every doc of mine, there is a sentence. I tried to set the sentence to
>> > fieldtype as one of the three 'text', 'text_ws' and 'textTight'. None of
>> > them produce the correct result.
>> >
>>
>> Please provide sample queries and their desired responses (what is
>> "correct"
>> according to you). This will help people to suggest field definitions for
>> you to use.
>>
>> Cheers
>> Avlesh
>>
>> On Sat, Aug 22, 2009 at 1:31 AM, Elaine Li <elaine.bing.li@gmail.com>
>> wrote:
>>
>> > Hi,
>> >
>> > In every doc of mine, there is a sentence.
>> > I tried to set the sentence to fieldtype as one of the three 'text',
>> > 'text_ws' and 'textTight'. None of them produce the correct result.
>> >
>> > For eg.
>> >
>> > "The Arab Presense" is returned when I search for ("arabic").
>> >
>> > "to confirm the existence of many communities.." is returned when i
>> > search for ("the existing").
>> >
>> > Notice I put double quotes around my phrases in both cases.
>> >
>> > Any hint will be greatly appreciated!
>> >
>> > Elaine
>> >
>>
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
>

Mime
View raw message