Chuck Williams wrote:
> Omar Didi writes (4/20/2005 5:05 PM):
>
>> Hi guys,
>>
>> If a field is indexed as UnStored how can I get it value?
>> I tried document.get("UnStored_field") it returns null.
>>
>>
> You didn't store it, so it's not there. If the field happens to be a
> single Term, you might be able to find it in the index, expensively. If
> not, it ranges from difficult to impossible.
Please also see the function "Reconstruct & Edit" in Luke
(http://www.getopt.org/luke) and see if it's enough to meet your
requirements. The source code is available at the same place.
--
Best regards,
Andrzej Bialecki
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|