Member since Jun 24, 2009, follows 0 people, 0 public groups, 496 public bookmarks (499 total).
More »
Tags
| Recent Tags: | |
|---|---|
| Top Tags: |
More »
Recent Bookmarks and Annotations
-
ImproveSearchingSpeed - Lucene-java Wiki on 2009-11-24
-
u must re-open the IndexSearcher in order to make newly committed changes visible to searching. However, re-opening the searcher has a certain overhead (noticeable mostly with large indexes and with sorting turned on) and should thus be minimized. Consider using a so called warming technique which allows the searcher to warm up its caches before the fir
-
- SolrCaching - Solr Wiki on 2009-11-24
-
SolJSON - Solr Wiki on 2009-11-24
-
Potential UTF-8 encoding issue
This is a small note: In some environment, the default javascript escape() may fail to encoded non-ASCII character into the utf-8 encoded string, which will make the search failed.
To solve the problem universally, please refer the utf-8 encoding package by webtoolkit.info to write your own encoding function: http://www.webtoolkit.info/javascript-url-decode-encode.html
-
Potential UTF-8 encoding issue
This is a small note: In some environment, the default javascript escape() may fail to encoded non-ASCII character into the utf-8 encoded string, which will make the search failed.
To solve the problem universally, please refer the utf-8 encoding package by webtoolkit.info to write your own encoding function: http://www.webtoolkit.info/javascript-url-decode-encode.html
- 2 more annotations...
-
-
Grails Plugin - Falcone Util on 2009-11-16
-
hibernate.[eventName].[domainClass], eg. hibernate.delete.Invoice would listen to all delete events for the Invoice domain class:
Event Name Event Class hibernate.autoFlush org.hibernate.event.AutoFlushEvent hibernate.delete org.hibernate.event.DeleteEvent hibernate.dirtyCheck org.hibernate.event.DirtyCheckEvent hibernate.evict org.hibernate.event.EvictEvent hibernate.flush org.hibernate.event.FlushEvent hibernate.flushEntity org.hibernate.event.FlushEntityEvent hibernate.load org.hibernate.event.LoadEvent hibernate.initializeCollection org.hibernate.event.InitializeCollectionEvent hibernate.lock org.hibernate.event.LockEvent hibernate.merge org.hibernate.event.MergeEvent hibernate.persist org.hibernate.event.PersistEvent hibernate.postDelete org.hibernate.event.PostDeleteEvent hibernate.postInsert org.hibernate.event.PostInsertEvent hibernate.postLoad org.hibernate.event.PostLoadEvent hibernate.postUpdate org.hibernate.event.PostUpdateEvent hibernate.preDelete org.hibernate.event.PreDeleteEvent hibernate.preInsert org.hibernate.event.PreInsertEvent hibernate.preLoad org.hibernate.event.PreLoadEvent hibernate.preUpdate org.hibernate.event.PreUpdateEvent hibernate.refresh org.hibernate.event.RefreshEvent hibernate.replicate org.hibernate.event.ReplicateEvent
-
-
SimpleFacetParameters - Solr Wiki on 2009-11-13
-
it is important to remember that "Term" is a very specific concept in Lucene -- it relates to the literal field/value pairs that are Indexed after any Analysis occurs. For text fields that include stemming, or lowercasing, or word splitting you may not get what you expect. If you want both Analysis (for searching) and Faceting on the full literal Strings, use copyField to create two versions of the field: one Text and one String. Make sure both are indexed="true"
-
enum Enumerates all terms in a field, calculating the set intersection of documents that match the term with documents that match the query. This was the default (and only) method for faceting multi-valued fields prior to Solr 1.4.
fc (stands for field cache) The facet counts are calculated by iterating over documents that match the query and summing the terms that appear in each document. This was the default method for single valued fields prior to Solr 1.4.
facet.method
This parameter indicates what type of algorithm/method to use when faceting a field.
The default value is fc (except for BoolField) since it tends to use less memory and is faster when a field has many unique terms in the index.
This parameter can be specified on a per field basis.
- 2 more annotations...
-
-
IndexReader (Lucene 2.9.0 API) on 2009-11-13
-
IndexReaderreopen(boolean openReadOnly)
Just likereopen(), except you can change the
readOnly of the original reader.
-
-
8. The Service Layer on 2009-11-02
-
Warning: dependency injection is the only way that declarative transactions work. You will not get a transactional service if you use the
newoperator such asnew BookService()
-
-
Hibernate Search on 2009-10-29
-
he advantage of using the compound file format is that
less file descriptors are used. The disadvantage is that indexing
takes more time and temporary disk space. You can set this
parameter tofalsein an attempt to improve the
indexing time, but you could run out of file descriptors if
mergeFactoris also
large.
-
re: describe whether or not the
property is stored in the Lucene index. You can store the value
Store.YES(consuming more space in the index but
allowing projection, see Section 5.1.2.5, “Projection” - 3 more annotations...
-
-
menu on 2009-10-26
-
- Grails Quick Tip #2: Getting Access to SessionFactory and MessageSource « Brain Flush on 2009-10-26
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo