[ 
http://jira.dspace.org/jira/browse/DS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10416#action_10416
 ] 

Stuart Lewis edited comment on DS-208 at 7/14/09 12:50 AM:
-----------------------------------------------------------

Hi Andrea,

Your code uses the 'new Field(String name, Reader reader)' option. 

I'm not a lucene expert, but I think this means that the actual value is not 
stored in the index, therefore it cannot be extracted from a results set for 
use with things such as hit highlighting. 

Is that right?

I have hit highlighting working, but only by first reading the reader into a 
string, and then storing it using 'new Field(String name, String value, 
Field.Store.Yes, Field.Index.TOKENIZED)'. 

So I think my question is - do we need to add an option to make the 
configurable full text indexes 'stored'?

E.g. search.fulltext.indexes = default, fulltext, 
fulltext-for-highlighting(store)

Thanks,


Stuart

      was (Author: stuartlewis):
    Hi Andrea,

Your code 
  
> Make the fulltext indexes configurable
> --------------------------------------
>
>                 Key: DS-208
>                 URL: http://jira.dspace.org/jira/browse/DS-208
>             Project: DSpace 1.x
>          Issue Type: Improvement
>          Components: DSpace API
>    Affects Versions: 1.5.2
>            Reporter: Andrea Bollini
>            Assignee: Andrea Bollini
>         Attachments: DS-208-configure-fulltext-indexes.patch
>
>
> This patch allow the user to configure the index name where the extracted 
> text from the bitstream (fulltext) will be stored.
> More then one index is allowed and if the configuration is missing the 
> "default" index name is used for backward compatibility.
> Documentation update is included, please take a look if possible

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to