And what Analyzer are you using? I'm guessing that your words are being split up during analysis, which is why you aren't seeing whitespace. If you want to keep the whitespace, you will need to use the String field type or possibly the Keyword Analyzer.

-Grant

On Sep 9, 2009, at 11:06 AM, Todd Benge wrote:

It's set as Field.Store.YES, Field.Index.ANALYZED.



On Wed, Sep 9, 2009 at 8:15 AM, Grant Ingersoll <gsing...@apache.org> wrote:

How are you tokenizing/analyzing the field you are accessing?


On Sep 9, 2009, at 8:49 AM, Todd Benge wrote:

Hi Rekha,

Here's teh link to the TermsComponent info:

http://wiki.apache.org/solr/TermsComponent

and another link Matt Weber did on autocompletion:


http://www.mattweber.org/2009/05/02/solr-autosuggest-with-termscomponent-and-jquery/

We had to upgrade to the latest nightly to get the TermsComponent to work.

Good Luck!

Todd

On Wed, Sep 9, 2009 at 5:17 AM, dharhsana <rekha.dharsh...@gmail.com>
wrote:


Hi,

I have a requirement on Autocompletion search , iam using solr 1.4.

Could you please tell me how you worked on that Terms component using
solr
1.4,
i could'nt find terms component in solr 1.4 which i have downloaded,is
there
anyother configuration should be done.

Do you have code for autocompletion, please share wih me..

Regards
Rekha



tbenge wrote:


Hi,

I was looking at TermsComponent in Solr 1.4 as a way of building a
autocomplete function. I have a prototype working but noticed that
terms
that have whitespace in them when indexed are absent the whitespace when
returned from the TermsComponent.

Any ideas on why that may be happening?  Am I just missing a

configuration

option?

Thanks,

Todd



--
View this message in context:
http://www.nabble.com/TermsComponent-tp25302503p25362829.html
Sent from the Solr - User mailing list archive at Nabble.com.



--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using
Solr/Lucene:
http://www.lucidimagination.com/search



--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene:
http://www.lucidimagination.com/search

Reply via email to