Re: Solr 5.0, defaultSearchField, defaultOperator ?

2015-04-18 Thread Bruno Mannina
2015 9:18 PM, Bruno Mannina wrote: : Dear Solr users, : : Since today I used SOLR 5.0 (I used solr 3.6) so i try to adapt my old : schema for solr 5.0. : : I have two questions: : - how can I set the defaultSearchField ? : I don't want to use in the query the df tag because I have

Re: Solr 5.0, defaultSearchField, defaultOperator ?

2015-04-17 Thread Chris Hostetter
today I used SOLR 5.0 (I used solr 3.6) so i try to adapt my old : schema for solr 5.0. : : I have two questions: : - how can I set the defaultSearchField ? : I don't want to use in the query the df tag because I have a lot of : modification to do for that on my web project. : : - how can I se

Re: Solr 5.0, defaultSearchField, defaultOperator ?

2015-04-17 Thread Ahmet Arslan
can I set the defaultSearchField ? I don't want to use in the query the df tag because I have a lot of modification to do for that on my web project. - how can I set the defaultOperator (and|or) ? It seems that these "options" are now deprecated in SOLR 5.0 schema. Thanks a lot f

Solr 5.0, defaultSearchField, defaultOperator ?

2015-04-17 Thread Bruno Mannina
Dear Solr users, Since today I used SOLR 5.0 (I used solr 3.6) so i try to adapt my old schema for solr 5.0. I have two questions: - how can I set the defaultSearchField ? I don't want to use in the query the df tag because I have a lot of modification to do for that on my web project.

Re: Can i have more than one field as defaultSearchField in schema.xml

2012-09-15 Thread Erick Erickson
You can also use an edismax style handler to automatically search more than one field given a search term. Best Erick On Fri, Sep 14, 2012 at 8:47 AM, Jack Krupansky wrote: > As of Solr 3.6, defaultSearchField is deprecated: > > * SOLR-2724: Specifying and defaultOperator=&

Re: Can i have more than one field as defaultSearchField in schema.xml

2012-09-14 Thread Jack Krupansky
As of Solr 3.6, defaultSearchField is deprecated: * SOLR-2724: Specifying and defaultOperator="..."/> in schema.xml is now considered deprecated. Instead you are encouraged to specify these via the "df" and "q.op" parameters in your request handler definit

Re: Can i have more than one field as defaultSearchField in schema.xml

2012-09-13 Thread Jochen Just
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.09.2012 07:30, schrieb veena rani: > Hi, > > Can i have more than one field as defaultSearchField in > schema.xml. This is my default search field in solr, If you want to search in more than one filed the Edismax-Parser (http://wik

RE: Can i have more than one field as defaultSearchField in schema.xml

2012-09-13 Thread Harshvardhan Ojha
Hi Veena, No you can't have more than one field as defaultSearchField, instead you can use copy field. Regards Harshvardhan Ojha -Original Message- From: veena rani [mailto:veenara...@gmail.com] Sent: Friday, September 14, 2012 11:01 AM To: solr-user@lucene.apache.org Subject:

Re: defaultSearchField not working after upgrade to solr3.6

2012-06-14 Thread Jack Krupansky
ler/params to the 3.6 example solrconfig but not realizing that the deprecated defaultSearchField element needed to be uncommented in the 3.6 schema. A second scenario was using in fact setting defaultSearchField but it wasn't working - because the request handler for 3.6 had set df 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

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 usin

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
Thanks for the pointers Jack, actually the strange part is that the defaultSearchField element is present and uncommented yet not working. docKey searchText Regards, Rohit -Original Message- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: 11 June 2012 20:35 To: solr-user

Re: defaultSearchField not working after upgrade to solr3.6

2012-06-11 Thread Jack Krupansky
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 preferred default field. Or, you can simply uncomment the deprecated defaultSearchFi

RE: defaultSearchField not working after upgrade to solr3.6

2012-06-11 Thread Rohit
Hi Jack, I understand that df would make this work normaly, but why did defaultSearchField stop working suddenly. I notice that there is talk about deprecating it, but even then it should continue to work right? Regards, Rohit -Original Message- From: Jack Krupansky [mailto:j

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: defaultSea

defaultSearchField not working after upgrade to solr3.6

2012-06-11 Thread Rohit
Hi, We have just migrated from solr3.5 to solr3.6, for all this time we have been querying solr as, http://122.166.9.144:8080/solr/ <>/?q=apple But now this is not working and the name of the search field needs to be provide

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

2012-06-08 Thread Jack Krupansky
June 08, 2012 10:15 AM To: solr-user@lucene.apache.org Subject: defaultSearchField and param df are messed up in 3.6.x Unfortunately I must see that defaultSearchField and param df are pretty much messed up in solr 3.6.x Yes, I have seen issue SOLR-2724 and SOLR-3292. So if defaultSearchFi

defaultSearchField and param df are messed up in 3.6.x

2012-06-08 Thread Bernd Fehling
Unfortunately I must see that defaultSearchField and param df are pretty much messed up in solr 3.6.x Yes, I have seen issue SOLR-2724 and SOLR-3292. So if defaultSearchField has been removed (deprecated) from schema.xml then why are the still calls to

Re: Dismax, q, q.alt, and defaultSearchField?

2011-03-03 Thread mrw
> -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > On 2. mars 2011, at 23.06, mrw wrote: > >> We have two banks of Solr nodes with identical schemas. The data I'm >> searching for is in both banks. >> >> One has defa

Re: Dismax, q, q.alt, and defaultSearchField?

2011-03-03 Thread Jan Høydahl
Hi, Try q.alt={!dismax}banana -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 2. mars 2011, at 23.06, mrw wrote: > We have two banks of Solr nodes with identical schemas. The data I'm > searching for is in both banks. > > One has defaultSearchFi

Dismax, q, q.alt, and defaultSearchField?

2011-03-02 Thread mrw
We have two banks of Solr nodes with identical schemas. The data I'm searching for is in both banks. One has defaultSearchField set to field1, the other has defaultSearchField set to field2. We need to support both user queries and facet queries that have no user content. For the latte

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 possib

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, fiel

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

defaultSearchField

2010-05-19 Thread 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 you all

Re: Reindex after changing defaultSearchField?

2010-02-17 Thread Joe Calderon
no, youre just changing how your querying the index, not the actual index, you will need to restart the servlet container or reload the core for the config changes to take effect tho On 02/17/2010 10:04 AM, Frederico Azeiteiro wrote: Hi, If i change the "defaultSearchField" i

Reindex after changing defaultSearchField?

2010-02-17 Thread Frederico Azeiteiro
Hi, If i change the "defaultSearchField" in the core schema, do I need to recreate the index? Thanks, Frederico

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
have no Content field ore somthing like this... >> So when i will search somthing, i need to search in ALL fields, but when i >> search "*:test" it dosent Work, >> And when i put "*" in the defaultSearchField" it dosent Work too >> >&g

Re: DefaultSearchField ? "important"

2009-07-15 Thread Mark Miller
rch in ALL fields, but when i search "*:test" it dosent Work, And when i put "*" in the defaultSearchField" it dosent Work too How i can Search in ALL fields? Good morning! Its morning in Connecticut USA now ;) Check out: http://wiki.apache.org/solr/DisMaxRequestHandl

Re: DefaultSearchField ? "important"

2009-07-15 Thread Otis Gospodnetic
; From: Jörg Agatz > To: solr-user@lucene.apache.org > Sent: Wednesday, July 15, 2009 2:29:50 AM > Subject: DefaultSearchField ? "important" > > Hallo Users... > And good Morning, in germany it is morning :-) > > I have a realy impor

DefaultSearchField ? "important"

2009-07-14 Thread Jörg Agatz
but when i search "*:test" it dosent Work, And when i put "*" in the defaultSearchField" it dosent Work too How i can Search in ALL fields?

Re: about defaultSearchField

2009-07-08 Thread Yang Lin
"true" multiValued="true"/> > > > >> > > >> multiValued="true"/> > > > >> > > > >> > > >> multiValued="true"/> > > > >> > > > >> > > > >> Sentence > > > >> > > > >> > > > >> allText > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > > > > > > > > > > I think the problem is in , but I don't know how > to > > > > fix > > > > it. Could anyone help me? > > > > > > > > Thanks > > > > Yang > > > > > > > > > > > > > > -- > > > View this message in context: > > > > http://www.nabble.com/about-defaultSearchField-tp24382105p24384615.html > > > Sent from the Solr - User mailing list archive at Nabble.com. > > > > > > > > >

Re: about defaultSearchField

2009-07-08 Thread Jay Hill
"true"/> > > >> > >> multiValued="true"/> > > >> > > >> > >> multiValued="true"/> > > >> > > >> > > >> Sentence > > >> > > >> > > >> allText > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > > > > > > > > I think the problem is in , but I don't know how to > > > fix > > > it. Could anyone help me? > > > > > > Thanks > > > Yang > > > > > > > > > > -- > > View this message in context: > > http://www.nabble.com/about-defaultSearchField-tp24382105p24384615.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > > > >

Re: about defaultSearchField

2009-07-08 Thread Yang Lin
gt; >> >> multiValued="true"/> > >> > >> >> multiValued="true"/> > >> > >> > >> Sentence > >> > >> > >> allText > >> > >> > >> > >> > >> > >> > >> > >> > > > > > > I think the problem is in , but I don't know how to > > fix > > it. Could anyone help me? > > > > Thanks > > Yang > > > > > > -- > View this message in context: > http://www.nabble.com/about-defaultSearchField-tp24382105p24384615.html > Sent from the Solr - User mailing list archive at Nabble.com. > >

Re: about defaultSearchField

2009-07-07 Thread Yao Ge
; stored="true" multiValued="true"/> >>> stored="true" multiValued="true"/> >>> multiValued="true"/> >> >>> multiValued="true"/> >> >> >> Sentence >> >> >&

about defaultSearchField

2009-07-07 Thread Yang Lin
Hi, I have some problems. For my solr progame, I want to type only the Query String and get all field result that includ the Query String. But now I can't get any result without specified field. For example, query with "tina" get nothing, but "Sentence:tina" could. I hava adjusted the *schema.xml*

Re: query on defaultSearchField?

2009-03-11 Thread Erik Hatcher
On Mar 11, 2009, at 11:14 AM, Kalidoss MM wrote: 1) Can i give by default defaultSearchField with multiple field values as like text, Tag, CategorydefaultSearchField> No, but Or should i use that will work, or look into using the dismax par

query on defaultSearchField?

2009-03-11 Thread Kalidoss MM
Hi, 1) Can i give by default defaultSearchField with multiple field values as like text, Tag, Category Or should i use Thanks, Kalidoss.m,

Re: Can defaultSearchField be all fields?

2008-07-11 Thread Ian Connor
You can explictly search for all fields by field:value syntax >>>>> >>>>> To get all terms, you can use the facet.field for all fields and get >>>>> all the terms. However, I'm not able to understand the use-case for >

Re: Can defaultSearchField be all fields?

2008-07-11 Thread Shalin Shekhar Mangar
;>> On Fri, Jul 11, 2008 at 5:12 PM, Ian Connor <[EMAIL PROTECTED]> wrote: >>>>> >>>>> Is it possible to have all fields being searched by default? >>>>> * or something like that. >>>>> >>>>> An alternative, is if

Re: Can defaultSearchField be all fields?

2008-07-11 Thread Ian Connor
t; >>>> Is it possible to have all fields being searched by default? >>>> * or something like that. >>>> >>>> An alternative, is if there is some lucene query that will give me all >>>> fields "*:term". >>>> >&g

Re: Can defaultSearchField be all fields?

2008-07-11 Thread Shalin Shekhar Mangar
>>> Is it possible to have all fields being searched by default? >>> * or something like that. >>> >>> An alternative, is if there is some lucene query that will give me all >>> fields "*:term". >>> >>> My final,

Re: Can defaultSearchField be all fields?

2008-07-11 Thread Ian Connor
ssible to have all fields being searched by default? >> * or something like that. >> >> An alternative, is if there is some lucene query that will give me all >> fields "*:term". >> >> My final, more redundant alternative is to create a field called >

Re: Can defaultSearchField be all fields?

2008-07-11 Thread Shalin Shekhar Mangar
s to create a field called > "all_fields" and put everything in there at the end to be the > defaultSearchField. > > Thanks for any advice, > Ian Connor -- Regards, Shalin Shekhar Mangar.

Can defaultSearchField be all fields?

2008-07-11 Thread Ian Connor
there at the end to be the defaultSearchField. Thanks for any advice, Ian Connor