How to use Similarity

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use Similarity

James liu-2
i uncoment
Similarity  in Schema.xmland start tomcat

i use admin gui to test and find it not effect.

maybe something is wrong, anyone know?

--
regards
jl
Reply | Threaded
Open this post in threaded view
|

Re: How to use Similarity

James liu-2
no one know?

2007/4/19, James liu <[hidden email]>:

>
> i uncoment
> Similarity  in Schema.xmland start tomcat
>
> i use admin gui to test and find it not effect.
>
> maybe something is wrong, anyone know?
>
> --
> regards
> jl




--
regards
jl
Reply | Threaded
Open this post in threaded view
|

Re: How to use Similarity

Yonik Seeley-2
In reply to this post by James liu-2
On 4/19/07, James liu <[hidden email]> wrote:
> i uncoment
> Similarity  in Schema.xmland start tomcat
>
> i use admin gui to test and find it not effect.

If no similarity is specified, Lucene's DefaultSimilarity is used.
The Similarity you uncommented in the example schema.xml specifies
Lucene's DefaultSimilarity hence there should be no difference.

-Yonik