Jake, Yes, that field would have to be some kind of an analyzed field (e.g. text), not string if you wanted that query to match "Jake is Testing" input. There are no built-in Lucene or Solr-specific limits on field lengths. There is one parameter called.... maxFieldLength in Solr's solrconfig.xml, I think, which tells Lucene how many tokens to consider for indexing. If you don't want that limit, increase that parameter's value to the max.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Jake Conk <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Tuesday, August 26, 2008 4:38:09 PM > Subject: How does Solr search when a field is not specified? > > Hello, > > I was wondering how does Solr search when a field is not specified, > just a query? Say for example I got the following: > > ?q="Jake" AND "Test" > > I have a mixture of integer, string, and text columns. Some indexed, > some stored, and some string fields copied to text fields. > > Say I have a string field with the value "Jake is Testing" which is > also copied to a text field. If I did not copyField that string field > to a text field then would the above query not return any results if > the word "Jake" and "Test" are not found anywhere else since we cannot > do fulltext searches on string fields? > > Lastly, is there a limit how many characters can be in a string and text > field? > > Thanks, > - Jake