[
https://issues.apache.org/jira/browse/BLUR-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542953#comment-13542953
]
Aaron McCurry commented on BLUR-50:
-----------------------------------
Probably not a bad idea to make a generic check, however it will be tricky to
implement given the analyzer + fieldmanager implementations, because those 2
classes can manipulate the indexing output. Although we probably don't have to
be that smart with it just yet, I think that if we check that there is at least
a single field in a document that contains a non-binary field (because the
binary fields are not indexed, just stored). So it should be pretty easy to
implement the simple check.
> Create a check on the server side to not allow documents to be indexed that
> do not have indexable fields
> --------------------------------------------------------------------------------------------------------
>
> Key: BLUR-50
> URL: https://issues.apache.org/jira/browse/BLUR-50
> Project: Apache Blur
> Issue Type: Bug
> Affects Versions: 0.2.0
> Reporter: Aaron McCurry
> Fix For: 0.2.0
>
>
> This issue is that if there are no indexable fields then the document can be
> deleted very easily. So we are trying to prevent documents from entering the
> index that cannot be located through some sort of search.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira