lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "FunctionQuery" by YonikSeeley
Date Sun, 18 Oct 2009 21:44:41 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "FunctionQuery" page has been changed by YonikSeeley.
The comment on this change is: add ord/rord mem use warnings.
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=24&rev2=25

--------------------------------------------------

  
     Example SolrQuerySyntax: '''_val_:"ord(myIndexedField)"'''
  
+ WARNING: as of Solr 1.4, ord() and rord() can cause excess memory use since they must use
a FieldCache entry
+ at the top level reader, while sorting and function queries now use entries at the segment
level.  Hence sorting
+ or using a different function query, in addition to ord()/rord() will double memory use.
+ 
+ 
  WARNING: ord() depends on the position in an index and can thus change when other documents
are inserted or deleted, or if a !MultiSearcher is used.
  
  == rord ==
@@ -49, +54 @@

      Example Syntax: '''rord(myIndexedField)'''
  
      Example: '''rord(myDateField)''' is a metric for how old a document is: the youngest
document will return 1, the oldest document will return the total number of documents.
+ 
+ 
+ WARNING: as of Solr 1.4, ord() and rord() can cause excess memory use since they must use
a FieldCache entry
+ at the top level reader, while sorting and function queries now use entries at the segment
level.  Hence sorting
+ or using a different function query, in addition to ord()/rord() will double memory use.
  
  == sum ==
  <!> [[Solr1.3]]

Mime
View raw message