Re: Scoring of documents, boost partial and exact hits in one field

2010-08-22 Thread Marc Harding
Hi, thanks for your suggestion (so simple, why didn't i think of that). When using AND i didn't get the desired result, probably because "work" matches work* and work. I changed the query to something like q=title:work OR title:work?* which works. I'll have to try that with real documents/examp

Scoring of documents, boost partial and exact hits in one field

2010-08-22 Thread Marc Harding
Hello, i need some help adjusting the scoring of documents. Assume i have two documents with only one field "title", fieldtype is text (nothing changed), index and stored are true. Doc1's title is "work", doc2's title is "work and workload". A search for "work" will now return the following order