Re: retrieving Payload 3.0.1

2010-06-08 Thread Aad Nales
highlighter for that? Thanks, Aad > > Hope that helps, > > bec :) > > > Sent from my iPhone > > On 08/06/2010, at 3:19 PM, Aad Nales wrote: > > Hi All, > > I storing synonyms in an index. e.g. 'institute' as a synonym for > 'organizatio

retrieving Payload 3.0.1

2010-06-08 Thread Aad Nales
Hi All, I storing synonyms in an index. e.g. 'institute' as a synonym for 'organization'. Since I want to highlight the orginal term when showing the result i am storing a Payload with each synononym. So in this case the term 'institute' has a payload for 'organization'. I execute a search and the

Re: How to add "tokens" to a stream

2010-06-07 Thread Aad Nales
rocess the tokens in the stream >    return true; >  } else if (!extraTokens.isEmtpy()){ >    // return extra token >    termAttribute.setTerm(extraTokens.pop()) >    return true; >  } >  return false; > > } > > does that make sense? > > simon > > On Mon,

synonym highlighter

2010-06-07 Thread Aad Nales
Hi All, We are mixing Lucene with a commercial service giving us all kinds of synonyms. We add these synonyms to the index and we can search with them. The problem we have is 'highlighting' the orginal word when a synonym is found. We were thinking along the following approach. 1. Get a term 2.

How to add "tokens" to a stream

2010-06-07 Thread Aad Nales
Hi All, Years ago we implemented a Lucene solution which we are updating today, and i am a bit lost on the following. In Lucene 1.x and 2.x it was possible to add a token in a Filter simply by returning an extra Token when next was being called. What i can not find is an equivalent possiblity for

Re: Multiple Field Queries

2005-03-21 Thread Aad Nales
Perhaps i misunderstand but it seems to me that if you execute the add with two times a false value you will end up with the required result. (content:test) (filename:test) which is equivalent to your requested query. hope this helps, Aad Nales Gusenbauer Stefan wrote: Hello, at the moment i

references to large installations

2005-03-18 Thread Aad Nales
We have been using Lucene for quite some time now but recently a customer asked to what level Lucene has scaled and if any public references to such projects exist. The (potential) customer is looking towards an index based on 15M (million) documents. Do any of you know of public sites that usi

Re: Alert function (aka "profiled alerting")

2005-03-17 Thread Aad Nales
Hi, I am not even sure what can of worms I open with this suggestion but: Suppose that one of my 10.000 queries results in a set of documents (A,B,.., N) Suppose I generate a new document from this 'search result history' and store this in a new index Suppose I take the new document and (not sure