The Reverse Search Engine
[ start | index | login ]
home > Boostfactors

Boostfactors

Created by mfranken. Last edited by mfranken, 4 years and 112 days ago. Viewed 2,348 times. #6
[diff] [history] [edit] [rdf]
labels
attachments
Boostfactors can help you tune the results of a query. It allows you the specify the importance of the attributes of a document with respect to a search result.

<!--
	  - These are factors used by zilverline boost a query. By default a given
	  - query such as 'java "method invocation" rmi' looks for these terms in
	  - the contents of a document. By setting boost factors for other attributes
	  - of a document, such as title, name, and summary you can tune the result of
	  - a query. Normally you start with contents (boostfactor 1.0), and then specify
	  - that you want a occurence of the query terms within the name of a document to 
	  - be twice as important as a hit within the contents, you specify a boostfactor
	  - of 2.0. The example below rates an occurrence of query terms within summary
	  - to be three times as important as within contents, and the title four times.
	  -->
    <bean id="boostFactor" class="org.zilverline.lucene.BoostFactor">
        <property name="factors">
            <props>
                <prop key="contents">1.0</prop>
                <prop key="name">2</prop>
		<prop key="summary">3</prop>
                <prop key="title">4</prop>
            </props>
        </property>
    </bean>
Please login to post a comment.

Zilverline
Visit Zilverline for Agile Coaching and Training

News

I've just released version 1.5.0
This version adds security and allows you to
upload documents to collections.

Get Zilverline

Zilverline is free of charge for personal and
R&D use. For commercial use you will have to
pay or contribute.

See Getting Zilverline.

Source

The source code can be found at Source Code

Build Information

All build reports generated with Maven
are accessible >>here

Installation

If you're upgrading from a previous version,
I advice you to follow the installation,
and copy your existing configuration
(collectionManager.xml and
searchService.xml) in your
Home Directory (user.home).
See also Quick start.

Screenshot

Here is one: screenshot

FAQ

Read the FAQ before getting started.

Best viewed with Get Firefox!

Made with Spring Framework

Built with MaviClipse

Powered by lucene

AgileHolland AgileHolland member.



< November 2008 >
SunMonTueWedThuFriSat
1
2345678
9101112131415
16171819202122
23242526272829
30
Powered by SnipSnap 1.0b1-mfranken
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt