Re: multi word synonyms

2008-05-18 Thread Karl Wettin
18 maj 2008 kl. 00.01 skrev Paul Elschot: Op Saturday 17 May 2008 20:28:40 schreef Karl Wettin: As far as I know Lucene only handle single word synonyms at index time. My life would be much simpler if it was possible to add synonyms that spanned over multiple tokens, such as "lucene in action"=

Re: MultiTerm Or Query with per-term boost. Does it exist?

2008-05-18 Thread Karl Wettin
18 maj 2008 kl. 02.25 skrev John Jensen: Hi, I have an application where I need to issue queries with a large number of or-terms with individual boosts. Currently I just construct a BooleanQuery with a large number (often 1000) of constituent TermQueries. I'm wondering if there is a bette

Re: multi word synonyms

2008-05-18 Thread Paul Elschot
Op Sunday 18 May 2008 16:30:26 schreef Karl Wettin: > 18 maj 2008 kl. 00.01 skrev Paul Elschot: > > Op Saturday 17 May 2008 20:28:40 schreef Karl Wettin: > >> As far as I know Lucene only handle single word synonyms at index > >> time. My life would be much simpler if it was possible to add > >> sy

Re: multi word synonyms

2008-05-18 Thread Karl Wettin
18 maj 2008 kl. 19.17 skrev Paul Elschot: Now I'm thinking it could be solved using token payloads and a brand new MultiDimensionalSpanQuery. Not too different from what you suggested way back in http://www.nabble.com/Using-Lucene-for-searching-tokens%2C-not-storin g-them.-to3918462.html#a394401

Re: MultiTerm Or Query with per-term boost. Does it exist?

2008-05-18 Thread John Jensen
The only problem is, that I'm thinking that a special purpose Query subclass might be faster, but I was wondering if others have run into similar situations, and whether they saw performance win by replacing complex BooleanQueries with a special purpose Query subclass. Unfortunately the boosts are

Re: MultiTerm Or Query with per-term boost. Does it exist?

2008-05-18 Thread Paul Elschot
See below. Op Sunday 18 May 2008 21:03:19 schreef John Jensen: > The only problem is, that I'm thinking that a special purpose Query > subclass might be faster, but I was wondering if others have run into > similar situations, and whether they saw performance win by replacing > complex BooleanQuer

Getting Terms Position Gaps

2008-05-18 Thread Itamar Syn-Hershko
Hi all, How can I see the position gaps in my indexed field? I've set up some sort of mechanism to increment position gap for specific terms in specific circumstances, and I want to make sure it is working as expected. I've tried Luke but it doesn't seem to be able to view this info. Thanks in