Hello!

I think it should work with SolrJ, it shouldn't be a problem.

You don't have to modify the handler, you can specify those
parameters at query time. But if you won't change it and those
will be constant, you can modify the sorlconfig.xml file. 

And you don't have to remove the defaultSearchField from the
schema.xml file.

-- 
Regards,
 Rafał Kuć

> That looks like a good solution. I'm pretty new with Solr, so I'm not sure
> how I should implement it. I looked at the documentation and I *think* I
> need to modify the search requestHandler in the solrconfi.xml file, is this
> correct? If I define it like this:

> <lst name="defaults">
>        <str name="echoParams">explicit</str>
>        <int name="rows">10</int>
>        <str name="defType">edismax</str>
>        <str name="qf">name keywords description username</str>
> </lst>

> should it work using solrJ? Do I have to remove the line:
> <defaultSearchField>text</defaultSearchField>
> from my schema.xml file?

> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/EdgeNGramTokenizer-not-working-tp3675926p3676040.html
> Sent from the Solr - User mailing list archive at Nabble.com.




Reply via email to