You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by cmd <cm...@hotmail.com> on 2011/10/19 04:23:47 UTC

use lucene to create index(with synonym) and solr query index

1.use lucene to create index(with synonym) 
2.config solr open synonym functionality
3.user solr to query lucene index but the result missing the synonym word
why? and how can i do with each other. thanks!

--
View this message in context: http://lucene.472066.n3.nabble.com/use-lucene-to-create-index-with-synonym-and-solr-query-index-tp3433124p3433124.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: use lucene to create index(with synonym) and solr query index

Posted by Erick Erickson <er...@gmail.com>.
I'm not quite sure what you're asking, but the values returned for
documents to the client are the *stored* values, not the indexed
values. So your synonyms will never be returned as part of a
document.

Does that help?

Best
Erick

On Wed, Oct 19, 2011 at 4:23 AM, cmd <cm...@hotmail.com> wrote:
> 1.use lucene to create index(with synonym)
> 2.config solr open synonym functionality
> 3.user solr to query lucene index but the result missing the synonym word
> why? and how can i do with each other. thanks!
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/use-lucene-to-create-index-with-synonym-and-solr-query-index-tp3433124p3433124.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>