Thanks Otis, I don´t resolve my problem. I see the Query sintaxis page, and the FAQ´s search section. I proof too many alternatives:
body:(imprimir teclado) title:base = 451 hits body:(imprimir teclado)^5.1 title:base = 248 hits (* under 451) body:(imprimir teclado^5.1) title:base = 451 hits - first document: 3287.html body:(imprimir^5.1 teclado) title:base = 451 hits - first document: 1545.html conclusion: I think that the boost is only applicable for one word. not to parenthesys, and not to field. I wanna make the boost applicable to field. For me, is more important a hit in title that in body, for example. In the FAQ´s search secction: Clause ::= [ Modifier ] [ FieldName ':' ] BasicClause [ Boost ] BasicClause ::= ( Term | Phrase | | PrefixQuery '(' Query ')' then, in my example BasicClause=(imprimir teclado) and Boost ^5.1. but not work. Regards, Ernesto. ----- Original Message ----- From: "Otis Gospodnetic" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]>; "Ernesto De Santis" <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 7:18 PM Subject: Re: syntax of queries. > Maybe it's the spaces after title:? > Try title:importar ... instead. > > Maybe it's the spaces before ^5.0? > Try title:importar^5 instead > > You shouldn't need the parentheses in this case either, I believe. > > See Query Synax page on Lucene's site. > > Otis > > > --- Ernesto De Santis <[EMAIL PROTECTED]> wrote: > > Hello > > > > I not undertanding the syntax of queries. > > I search with this string: > > > > title: (importar) ^5.0 OR title: (arquivos) > > > > return 6 hits. > > > > and with this: > > > > title: (arquivos) OR title: (importar) ^5.0 > > > > 27 hits. > > > > why? > > in the first, I think that work like AND, but, why? :-( > > > > Regards, Ernesto. > > > > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]