Hi,
I want to be able to select from the index the documents who have a certain
field not null. The problem is that the field is not indexed just stored.
I'm not interested in indexing that field as it is just an internal URL.
The idea was to add another field to the document - a boolean field -
Hi,
I want to be able to select from the index the documents who have a certain
field not null. The problem is that the field is not indexed just stored.
I'm not interested in indexing that field as it is just an internal URL.
The idea was to add another field to the document - a boolean field
Well - this was the idea: not to index the useless data from the initial
field but to add and index another field, a boolean one, based on the
content of the first one.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Use-a-boolean-field-as-a-flag-for-another-just-stored-fiel
Exactly, and the question is how to populate at index time a boolean field
based on the content of another one ?
My initial idea was to make a copy of the initial field - and 'filter' it
to a boolean value (by specifying some analyzer in schema.xml) - but , as I
said, I might miss some basic Solr
Thanks for the detailed answer - this was also my first approach but I
stopped in an early stage as I have to use for the moment Solr 1.4 with no
update possible until next year. But I'll give it a try - I just wanted to
be sure I was not missing something really easy ;)
--
View this message in