lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suri Babu B (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-474) High Frequency Terms/Phrases at the Index level
Date Tue, 29 Nov 2005 11:31:30 GMT
    [ http://issues.apache.org/jira/browse/LUCENE-474?page=comments#action_12358778 ] 

Suri Babu B commented on LUCENE-474:
------------------------------------

Hi Mark,


I have tried executing your classes but I failed to see the output
coz it gave me class cast exception  at the following line

            //get TermPositions for matching doc
            TermPositionVector tpv = (TermPositionVector) reader.getTermFreqVector(docId,
fieldName);

and while indexing , I have added the contents field like below

Field.Text("contents", fileInfo.getReader(),true); // isStoreTermVector to true

and also found some mismatches in the Field class that I have and Field class that you are
referring in the CollocationIndexer class

I am using lucene 1.4.3 version and also observed 1.4.3 doesnot have implementation for TermPositionVector

Pls let me know if I am using old ver or i have to update some patches in my env


Thanks 
Suri

> High Frequency Terms/Phrases at the Index level
> -----------------------------------------------
>
>          Key: LUCENE-474
>          URL: http://issues.apache.org/jira/browse/LUCENE-474
>      Project: Lucene - Java
>         Type: New Feature
>     Versions: 1.4
>     Reporter: Suri Babu B
>  Attachments: colloc.zip
>
> We should be able to find the all the high frequncy terms/phrases ( where frequency 
is the search criteria / benchmark)

-- 
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


Mime
View raw message