I'd try, but the build is failing from (guessing) Ryan's last commit:

compile:
    [mkdir] Created dir: /Users/dsteiger/Desktop/java/solr/build/core
[javac] Compiling 337 source files to /Users/dsteiger/Desktop/ java/solr/build/core [javac] /Users/dsteiger/Desktop/java/solr/client/java/solrj/src/ org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.java:129: cannot find symbol
    [javac] symbol  : method isEnabled()
    [javac] location: class org.apache.solr.core.CoreContainer
    [javac]           multicore.isEnabled() ) {

Doug

On Aug 14, 2008, at 2:24 PM, Grant Ingersoll wrote:

I believe I just fixed this on SOLR-606 (thanks to Stefan's patch). Give it a try and let us know.

-Grant

On Aug 13, 2008, at 2:25 PM, Doug Steigerwald wrote:

I've noticed a few things with the new spellcheck component that seem a little strange.

Here's my document:

<doc>
<field name="id">5</field>
<field name="spell">wii blackberry blackjack creative labs zen ipod video nano</field>
</doc>

Some sample queries:

http://localhost:8983/solr/core1/spellCheckCompRH?q=blackberri+wi&spellcheck=true&spellcheck.collate=true

http://localhost:8983/solr/core1/spellCheckCompRH?q=blackberr+wi&spellcheck=true&spellcheck.collate=true

http://localhost:8983/solr/core1/spellCheckCompRH?q=blackber+wi&spellcheck=true&spellcheck.collate=true

When spellchecking 'blackberri wi', the collation returned is 'blackberry wii'. When spellchecking 'blackberr wi', the collation returned is 'blackberrywii'. 'blackber wi' returns 'blackberrwiiwi'.

Doug


Reply via email to