You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2007/08/08 04:35:59 UTC
[jira] Created: (LUCENE-975) Position based TermVectorMapper
Position based TermVectorMapper
-------------------------------
Key: LUCENE-975
URL: https://issues.apache.org/jira/browse/LUCENE-975
Project: Lucene - Java
Issue Type: New Feature
Components: Store
Reporter: Grant Ingersoll
Assignee: Grant Ingersoll
Priority: Minor
As part of the new TermVectorMapper approach to TermVectors, the ensuing patch loads term vectors and stores the term info by position. This should let people directly index into a term vector given a position. Actually, it does it through Maps, b/c the array based bookkeeping is a pain given the way positions are stored.
The map looks like:
Map<String, Map<Integer, TVPositionInfo>>
where the String is the field name, the integer is the position, and TVPositionInfo is a storage mechanism for the terms and offsets that occur at a position. It _should_ handle multiple terms per position (which is always my downfall! )
I have not tested performance of this approach.
--
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-975) Position based TermVectorMapper
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll updated LUCENE-975:
-----------------------------------
Attachment: LUCENE-975.patch
First attempt at a position based TermVectorMapper. I believe it is ready to go, but will let it sit for a few days.
> Position based TermVectorMapper
> -------------------------------
>
> Key: LUCENE-975
> URL: https://issues.apache.org/jira/browse/LUCENE-975
> Project: Lucene - Java
> Issue Type: New Feature
> Components: Store
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Attachments: LUCENE-975.patch
>
>
> As part of the new TermVectorMapper approach to TermVectors, the ensuing patch loads term vectors and stores the term info by position. This should let people directly index into a term vector given a position. Actually, it does it through Maps, b/c the array based bookkeeping is a pain given the way positions are stored.
> The map looks like:
> Map<String, Map<Integer, TVPositionInfo>>
> where the String is the field name, the integer is the position, and TVPositionInfo is a storage mechanism for the terms and offsets that occur at a position. It _should_ handle multiple terms per position (which is always my downfall! )
> I have not tested performance of this approach.
--
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-975) Position based TermVectorMapper
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll resolved LUCENE-975.
------------------------------------
Resolution: Fixed
Lucene Fields: [Patch Available] (was: [Patch Available, New])
Committed: 565994
> Position based TermVectorMapper
> -------------------------------
>
> Key: LUCENE-975
> URL: https://issues.apache.org/jira/browse/LUCENE-975
> Project: Lucene - Java
> Issue Type: New Feature
> Components: Store
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Attachments: LUCENE-975.patch
>
>
> As part of the new TermVectorMapper approach to TermVectors, the ensuing patch loads term vectors and stores the term info by position. This should let people directly index into a term vector given a position. Actually, it does it through Maps, b/c the array based bookkeeping is a pain given the way positions are stored.
> The map looks like:
> Map<String, Map<Integer, TVPositionInfo>>
> where the String is the field name, the integer is the position, and TVPositionInfo is a storage mechanism for the terms and offsets that occur at a position. It _should_ handle multiple terms per position (which is always my downfall! )
> I have not tested performance of this approach.
--
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org