First of all, the schema snippets you provided aren't right. It's indexed="true", not index="analyzed". And it's stored, not store.

But, to answer your question, the stored nature of the field has nothing whatsoever to do with it's searchability. Stored only affects whether you can get that value back in the documents returned from a search, or not.

        Erik


On Feb 1, 2010, at 7:12 PM, Matthieu Labour wrote:

Hi

on the following field

<fields name="status">
[...]
<field name="message" index="analyzed" store="yes" default="true"/>
[...]
</fields>

the following query works

{!lucene q.op=AND} [...] AND (status.message&STRING_ANALYZED_NO_US: (some keywords) AND [...]

I was wondering If the query syntax above works as well if the store property of the field is set to NO.

<fields name="status">

[...]

<field name="message" index="analyzed" store="no" default="true"/>

[...]

</fields>


I have tried it and it seems to work. I would appreciate if someone could confirm!

Thank you






Reply via email to