lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: boost field which are not stored
Date Thu, 04 Dec 2008 01:15:36 GMT
On Wed, Dec 3, 2008 at 10:25 AM, sunnyfr <johanna.34@gmail.com> wrote:
> I would like to know if it's a problem, I've around 50 fields and I just
> need back the id.
> I would like to know if I need to store field which needs to be boost by qf
> or bf in dismax?

Nope.  Searching/Querying is completely separate from retrieval of
stored  fields for the hits.
Index a field you want to search on (or facet by or sort by), and
store a field you want returned back.

> I stored language titles .. and description and my data folder now is 8G, it
> takes sometimes long time to get back data in multi thread ... is there a
> link ...?

If it's really mult-threaded related (many query threads executing at
once), the very latest nightly build may help with lock contention
while reading index files (provided you aren't running on Windows):
http://hudson.zones.apache.org/hudson/job/Solr-trunk/lastSuccessfulBuild/artifact/trunk/dist/

A little more about that at
http://yonik.wordpress.com/2008/12/01/solr-scalability-improvements/

-Yonik


> is it better to store data or instead no ??
> Should I limit my boost because it looks like :
> select/?qt=dismax&fl=id,score,
> language,title,status_official,stat_views&q=svr09+tutorial&debugQuery=true&qf=title_en+title^1.1+status_official^2.2+status_creative^1.4+description&bf=recip(rord(created),1,10,10)^25+pow(stat_views,0.1)^4
>
> Maybe its too much .. ???
> thanks a lot,

Mime
View raw message