Re: Lucene Payload

2008-10-31 Thread Grant Ingersoll
On Oct 30, 2008, at 7:28 PM, Anshul jain wrote: I want to give more weight to some terms in the document. Like title of the book should be given more weight than the contents. And we are testing over a wide varieties of lucene queries, with quotes, w/o quotes, phrase, span etc. If the w

Re: Lucene Payload

2008-10-30 Thread Anshul jain
I want to give more weight to some terms in the document. Like title of the book should be given more weight than the contents. And we are testing over a wide varieties of lucene queries, with quotes, w/o quotes, phrase, span etc. As our system will be expecting more number of queries that contain

Re: Lucene Payload

2008-10-30 Thread Grant Ingersoll
Not directly, I don't think. Mark Miller contributed some highlighting code that converts phrase queries to SpanNearQueries, I believe, but this isn't general purpose.We probably need a QueryParser that produces SpanQueries instead of regular Queries, I suppose, but they aren't always

Re: Lucene Payload

2008-10-30 Thread Anshul jain
Thanks Grant the presentation, it was very useful. Can payload work for queries other than Term queries and Span queries? Or is there any function to convert Query into span query? Thanks On Thu, Oct 23, 2008 at 4:08 PM, Grant Ingersoll <[EMAIL PROTECTED]>wrote: > You can search the archives fo

Re: Lucene Payload

2008-10-30 Thread Anshul jain
Thanks Grant the presentation, it was very useful. Can payload work for queries other than Term queries and Span queries? Or is there any function to convert Query into span query? Thanks On Thu, Oct 23, 2008 at 4:08 PM, Grant Ingersoll <[EMAIL PROTECTED]>wrote: > You can search the archives

Re: Lucene Payload

2008-10-23 Thread Grant Ingersoll
You can search the archives for some background info. Also, Michael Busch has a nice presentation from ApacheCon at http://people.apache.org/~buschmi/apachecon/AdvancedIndexingLuceneAtlanta07.ppt Basically, the payload allows you to associate an arbitrary byte array with 1 or more terms. O