Issue Details (XML | Word | Printable)

Key: LUCENE-1219
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Michael McCandless
Reporter: Eks Dev
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

support array/offset/ length setters for Field with binary data

Created: 11/Mar/08 11:32 AM   Updated: 11/Oct/08 12:49 PM
Return to search
Component/s: Index
Affects Version/s: None
Fix Version/s: 2.4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works LUCENE-1219.extended.patch 2008-08-09 01:15 PM Eks Dev 17 kB
Text File Licensed for inclusion in ASF works LUCENE-1219.extended.patch 2008-08-08 01:53 PM Eks Dev 18 kB
Text File Licensed for inclusion in ASF works LUCENE-1219.patch 2008-03-12 10:02 AM Eks Dev 8 kB
Text File Licensed for inclusion in ASF works LUCENE-1219.patch 2008-03-11 09:53 PM Eks Dev 8 kB
Text File Licensed for inclusion in ASF works LUCENE-1219.patch 2008-03-11 02:07 PM Eks Dev 8 kB
Text File Licensed for inclusion in ASF works LUCENE-1219.patch 2008-03-11 01:33 PM Eks Dev 8 kB
Text File Licensed for inclusion in ASF works LUCENE-1219.take2.patch 2008-03-13 09:34 AM Michael McCandless 15 kB
Text File Licensed for inclusion in ASF works LUCENE-1219.take3.patch 2008-08-03 09:03 PM Eks Dev 16 kB
Issue Links:
Blocker
 

Lucene Fields: Patch Available, New
Resolution Date: 18/Aug/08 10:32 AM


 Description  « Hide
currently Field/Fieldable interface supports only compact, zero based byte arrays. This forces end users to create and copy content of new objects before passing them to Lucene as such fields are often of variable size. Depending on use case, this can bring far from negligible performance improvement.

this approach extends Fieldable interface with 3 new methods
getOffset(); gettLenght(); and getBinaryValue() (this only returns reference to the array)



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.