It sounds like you have your text indexed in a "string" field (why the
wildcards are needed), or that maybe you are using the "keyword" tokenizer
rather than the standard tokenizer.
What is your default or query fields for dismax/edismax? And what are the
field types for those fields?
-- Jack Krupansky
-----Original Message-----
From: Mysurf Mail
Sent: Monday, June 17, 2013 10:51 AM
To: solr-user@lucene.apache.org
Subject: Need assistance in defining solr to process user generated query
text
Hi,
I have been reading solr wiki pages and configured solr successfully over
my flat table.
I have a few question though regarding the querying and parsing of user
generated text.
1. I have understood through this <http://wiki.apache.org/solr/DisMax>page
that
I want to use dismax.
Through this <http://wiki.apache.org/solr/LocalParams>page I can do it
using localparams
But I think the best way is to define this in my xml files.
Can I do this?
2. in this <http://lucene.apache.org/solr/4_3_0/tutorial.html>tutorial
(solr) the following query appears
http://localhost:8983/solr/#/collection1/query?q=video
When I want to query my fact table I have to query using *video*.
just video retrieves nothing.
How can I query it using video only?
3. In this <http://wiki.apache.org/solr/ExtendedDisMax#Configuration>page
it says that
"Extended DisMax is already configured in the example configuration, with
the name edismax"
But I see it only in the /browse requestHandler
as follows:
<requestHandler name="/browse" class="solr.SearchHandler">
<lst name="defaults">
<str name="echoParams">explicit</str>
...
<!-- Query settings -->
<str name="defType">edismax</str>
Do I use it also when I use select in my url ?
4. In general, I want to transfer a user generated text to my url request
using the most standard rules (translate "",+,- signs to the q parameter
value).
What is the best way to
Thanks.