On Wed, Aug 11, 2010 at 11:47 AM, Burton-West, Tom <tburt...@umich.edu>wrote:
> Hi Peter, > > Can you give a few more examples of slow queries? > Are they phrase queries? Boolean queries? prefix or wildcard queries? > If one word queries are your slow queries, than CommonGrams won't help. > CommonGrams will only help with phrase queries. > Since the example given was "http" being slow, its worth mentioning that if queries are "one word" urls [for example http://lucene.apache.org] these will actually form slow phrase queries by default. Because your content is very tiny documents, its probably good to disable this since the phrases won't likely help the results at all, but make things unbearably slow. in solr 3_x and trunk, you can disable these automatic phrase queries in schema.xml with autoGeneratePhraseQueries="false": <fieldType name="text" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false"> then the system won't form phrase queries unless the user explicitly puts double quotes around it. -- Robert Muir rcm...@gmail.com