great tip :-)
On Tue, Jun 18, 2013 at 2:36 PM, Erick Erickson <erickerick...@gmail.com>wrote: > if the _solr_ type is "string", then you aren't getting any > tokenization, so "my dog has fleas" is indexed as > "my dog has fleas", a single token. To search > for individual words you need to use, say, the > "text_general" type, which would index > "my" "dog" "has" "fleas" > > Best > Erick > > On Mon, Jun 17, 2013 at 11:26 AM, Mysurf Mail <stammail...@gmail.com> > wrote: > > I have one fact table with a lot of string columns and a few GUIDs just > for > > retreival (Not for search) > > > > > > > > On Mon, Jun 17, 2013 at 6:01 PM, Jack Krupansky <j...@basetechnology.com > >wrote: > > > >> 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 > <http://wiki.apache.org/solr/DisMax>>page > >> that > >> > >> I want to use dismax. > >> Through this <http://wiki.apache.org/solr/**LocalParams< > 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< > http://lucene.apache.org/solr/4_3_0/tutorial.html> > >> >**tutorial > >> > >> (solr) the following query appears > >> > >> http://localhost:8983/solr/#/**collection1/query?q=video< > 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< > 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. > >> >