Re: defaultSearchField not working after upgrade to solr3.6

2012-06-14 Thread Jack Krupansky
"text" and the code won't check the defaultSearchField if "df" is set. -- Jack Krupansky -Original Message- From: Chris Hostetter Sent: Thursday, June 14, 2012 4:05 PM To: solr-user@lucene.apache.org Subject: Re: defaultSearchField not working after upgrade to

Re: defaultSearchField and param df are messed up in 3.6.x

2012-06-14 Thread Chris Hostetter
: So if defaultSearchField has been removed (deprecated) from schema.xml then why : are the still calls to "org.apache.solr.schema.IndexSchema.getDefaultSearchFieldName()"? Because even though the syntax is deprecated/discouraged in schema.xml, we don't want things to break for existing users

Re: defaultSearchField not working after upgrade to solr3.6

2012-06-14 Thread Chris Hostetter
: Correct. In 3.6 it is simply ignored. In 4.x it currently does work. That's not true. the example cofigs in Solr 3.6 no longer mention defaultSearchField, but Solr 3.6 will still respect a declaration if it exists in your schema.xml -- I just verified this by running Solr 3.6 using hte Sol

Re: defaultSearchField not working after upgrade to solr3.6

2012-06-11 Thread Jack Krupansky
Correct. In 3.6 it is simply ignored. In 4.x it currently does work. Generally, Solr ignores any elements that it does not support. -- Jack Krupansky -Original Message- From: Rohit Sent: Monday, June 11, 2012 12:55 PM To: solr-user@lucene.apache.org Subject: RE: defaultSearchField

RE: defaultSearchField not working after upgrade to solr3.6

2012-06-11 Thread Rohit
@lucene.apache.org Subject: Re: defaultSearchField not working after upgrade to solr3.6 Just to clarify one point from my original response, the "df" parameter is already set for the default request handlers, so all you need to do is change it from the "text" field to your pre

Re: defaultSearchField not working after upgrade to solr3.6

2012-06-11 Thread Jack Krupansky
eld element is present. The issue is still open for 4.x. Feel free to comment directly on that Jira. -- Jack Krupansky -Original Message- From: Rohit Sent: Monday, June 11, 2012 9:49 AM To: solr-user@lucene.apache.org Subject: RE: defaultSearchField not working after upgrade to s

RE: defaultSearchField not working after upgrade to solr3.6

2012-06-11 Thread Rohit
...@basetechnology.com] Sent: 11 June 2012 18:49 To: solr-user@lucene.apache.org Subject: Re: defaultSearchField not working after upgrade to solr3.6 Add the "df" parameter to your query request handler. It names the default field. Or use "qf" for the edismax query parser. -- Jack Krup

Re: defaultSearchField not working after upgrade to solr3.6

2012-06-11 Thread Jack Krupansky
Add the "df" parameter to your query request handler. It names the default field. Or use "qf" for the edismax query parser. -- Jack Krupansky -Original Message- From: Rohit Sent: Monday, June 11, 2012 8:58 AM To: solr-user@lucene.apache.org Subject: defaultSearchField not working afte

Re: defaultSearchField and param df are messed up in 3.6.x

2012-06-08 Thread Jack Krupansky
Besides the obvious need to clean up the getDefaultSearchFieldName references, I would also suggest that the "df" param have a hard-wired default of "text" since that is the obvious default. -- Jack Krupansky -Original Message- From: Bernd Fehling Sent: Friday, June 08, 2012 10:15 AM

Re: defaultSearchField

2010-05-19 Thread Antonello Mangone
thank you all ;) 2010/5/19 Jan Kammer > There is something called dismax-requesthandler. I think this is what you > are looking for. > > greetz, Jan > > > Am 19.05.2010 15:47, schrieb Antonello Mangone: > > Hi to everyone, I'd like to know if it's possible to use the * >> defaultSearchField* on

Re: defaultSearchField

2010-05-19 Thread Jan Kammer
There is something called dismax-requesthandler. I think this is what you are looking for. greetz, Jan Am 19.05.2010 15:47, schrieb Antonello Mangone: Hi to everyone, I'd like to know if it's possible to use the * defaultSearchField* on more fields ??? i.e. field1, field2, field3 Thanks

Re: defaultSearchField

2010-05-19 Thread Ahmet Arslan
> Hi to everyone, I'd like to know if > it's possible to use the * > defaultSearchField* on more fields ??? > > i.e. > > field1, field2, field3 > > No. But you can query multiple fields using dismax. qf=field1,field2,field3&defType=dismax http://wiki.apache.org/solr/DisMaxRequestHandler

Re: DefaultSearchField ? "important"

2009-07-16 Thread Mani Kumar
On Thu, Jul 16, 2009 at 12:33 AM, Erik Hatcher wrote: > > On Jul 15, 2009, at 2:59 PM, Mani Kumar wrote: > >> @mark, @otis: >> > > Can I answer too? :) > your welcome :) ... thanks > > > yeah copying all the fields to one text field will work but what if i want >> to assign specific weightage

Re: DefaultSearchField ? "important"

2009-07-15 Thread Erik Hatcher
On Jul 15, 2009, at 2:59 PM, Mani Kumar wrote: @mark, @otis: Can I answer too? :) yeah copying all the fields to one text field will work but what if i want to assign specific weightage to specific fields? e.g. i have a three fields 1) title 2) tags 3) description i copied all of them

Re: DefaultSearchField ? "important"

2009-07-15 Thread Mani Kumar
@mark, @otis: yeah copying all the fields to one text field will work but what if i want to assign specific weightage to specific fields? e.g. i have a three fields 1) title 2) tags 3) description i copied all of them to a new field called "all_text". now i want to search in all the fields with

Re: DefaultSearchField ? "important"

2009-07-15 Thread Mark Miller
Jörg Agatz wrote: Hallo Users... And good Morning, in germany it is morning :-) I have a realy important Prroblem... My Fields are realy Bad.. Like "CUPS_EBENE1_EBENE2_TASKS_CATEGORIE" I have no Content field ore somthing like this... So when i will search somthing, i need to search in ALL fie

Re: DefaultSearchField ? "important"

2009-07-15 Thread Otis Gospodnetic
Jörg, You can use copyField to copy all fields into a single fields that has all other fields' content. Then you can put that "catch all" field as the default search field. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Jörg Agatz > To