lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2625) IndexReader.termDocs() retrieves no documents
Date Fri, 27 Aug 2010 03:52:58 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903208#action_12903208
] 

Shai Erera commented on LUCENE-2625:
------------------------------------

You add the field as NOT_ANALYZED, therefore there is no indexed term "field:value". Is the
first assert succeeds? I'd assume it should return false.

> IndexReader.termDocs() retrieves no documents
> ---------------------------------------------
>
>                 Key: LUCENE-2625
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2625
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 3.1
>            Reporter: Adriano Crestani
>             Fix For: 3.1
>
>         Attachments: TestTermDocs.java
>
>
> TermDocs object returned by indexReader.termDocs() retrieves no documents, howerver,
the documents are retrieved correctly when using indexReader.termDocs(Term), indexReader.termDocs(null)
and indexSearcher.search(Query).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message