Yes just add fieldname: search string

On 5/13/11 7:23 AM, "javaxmlsoapdev" <vika...@yahoo.com> wrote:

>Alright. It turned out that defaultSearchField=title where title field is
>of
>a custom fieldType=edgyText
>
>where 
><fieldType name="edtyText" class="solr.TextField">
>   <filter class="solr.EdgeNGramFilterFactory" minGramSize="1"
>maxGramSize="25" side="back"/>
>   <filter class="solr.EdgeNGramFilterFactory" minGramSize="1"
>maxGramSize="25" side="front"/>
></fieldType>
>
>so if no value in the "q" parameter is passed, solr picks up default
>field,
>which is tiltle of type "edgyText" taking a very long time to return
>results. Is there a way to IGNORE default(which is there in schema.xml)
>field dynamically while I only want to search filterlist on keys (e.g.
>fl=keys)? gram search is slowing things down extremely. Crazy clients want
>to have minimum word =1, which is kind of insane but that's how it is.
>
>Any idea?
>
>--
>View this message in context:
>http://lucene.472066.n3.nabble.com/Solr-performance-tp2926836p2935175.html
>Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to