Thanks a lot for your help. I'll try it out. I didn't see a defType on the
SolrQuery object, this is why I tought it had to be set in the config. Or is
queryType the same as defType?
--
View this message in context:
http://lucene.472066.n3.nabble.com/EdgeNGramTokenizer-not-working-tp3675926p36760
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 defaultSearc
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:
explicit
10
edism
Hello!
Look at the dismax (http://wiki.apache.org/solr/DisMaxQParserPlugin)
query parser and the qf parameter. With dismax (or edismax) you can
make a query like:
q=user query&qf=name keywords description username
and Solr will make the query to all the fields specified by the qf
parameter.
--
Thank you for your reply. I think that's probably the problem then. Is there
any way I can do this:
I have a list of programs. Each program has a name, keywords, description
and username. When I perform a search, I need to search all of those fields
at once. This is why I used a copyfield to copy e
Hello!
Do you use the 'text' field for searching or the 'name' field ?
Remember that, when you use copyField the data that is copied is the
original data, not the analyzed one.
--
Regards,
Rafał Kuć
> Hi,
> I'm trying to define an EdgeNGram field but for some reason it doesn't work.
> My fiel