You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by zhongyi yuan <yz...@gmail.com> on 2006/10/24 13:20:48 UTC

index short text

I use lucene to index the address information, because the address
information is so short, so I think use the Lucene Score computing is
not suitable.
who can give me some advices to index short address information.

the format of address is: name,address etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: index short text

Posted by zhongyi yuan <yz...@gmail.com>.
Thank you. My opinion is using the Current Similarity not
suitable,because most term freq in the address content is one,but in
the lucene, Freq is the very import factor,So I want know some other
method to short information.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: index short text

Posted by Erick Erickson <er...@gmail.com>.
Could you specify why the score is not suitable? What is it you're trying to
do that isn't working correctly?

At a guess, I'd suspect that if you're using, say, StandardAnalyzer during
index time, the input stream is being tokenized differently than you expect.
And, depending upon what analyzer you use at query time, you could be seeing
results that are surprising.

But that is only a guess since I don't know what behavior you would like to
see but do not see.

Best
Erick

On 10/24/06, zhongyi yuan <yz...@gmail.com> wrote:
>
> I use lucene to index the address information, because the address
> information is so short, so I think use the Lucene Score computing is
> not suitable.
> who can give me some advices to index short address information.
>
> the format of address is: name,address etc.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>