You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Naber (JIRA)" <ji...@apache.org> on 2006/06/15 23:47:30 UTC
[jira] Commented: (LUCENE-562) Allow Unstored AND Unindexed Fields
as in 1.4
[ http://issues.apache.org/jira/browse/LUCENE-562?page=comments#action_12416415 ]
Daniel Naber commented on LUCENE-562:
-------------------------------------
I think this should be closed as "won't fix". You could either write your wrapper class or just use an indexed or stored field that later gets removed. The stored/indexed value should only have an effect once the document is added to the index.
> Allow Unstored AND Unindexed Fields as in 1.4
> ---------------------------------------------
>
> Key: LUCENE-562
> URL: http://issues.apache.org/jira/browse/LUCENE-562
> Project: Lucene - Java
> Type: Bug
> Versions: 1.9
> Reporter: Sam Hough
> Priority: Minor
>
> In 1.4 it was possible to have a field that was not to be indexed or stored. This was
> useful in passing information that Lucene should ignore but that layers on top
> of it should pickup. This saves the need for an extra class to wrap a Lucene Document.
> Sorry it has taken me two years to spot the change:
> http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/src/java/org/apache/lucene/document/Field.java?rev=150206&r1=149967&r2=150206&diff_format=h
> I have to admit that this really isn't a Lucene bug but the 1.4 behaviour was really handy
> like XML processing instructions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org