I'm doing a query with edismax.

When I don't tell solr which fields I want to do the search (so it does in
default field), it returns 2752 documents.

ex:
http://000.000.0.0:0000/solr/select/?q=apartamento+moema+praia+churrasqueira&version=2.2&start=0&rows=10&indent=on&defType=dismax&mm=75%25<http://192.168.20.8:8984/solr/Index/select/?q=apartamento+moema+praia+churrasqueira&version=2.2&start=0&rows=10&indent=on&defType=dismax&mm=75%25&facet=true&facet.field=bairro>

The same search, defining the fiels that composes the default field, it
returns 1434 docs.

ex:
http://000.000.0.0:0000/solr/select/?q=apartamento+moema+praia+churrasqueira&version=2.2&start=0&rows=10&indent=on&defType=dismax&mm=75%25&;<http://192.168.20.8:8984/solr/Index/select/?q=apartamento+moema+praia+churrasqueira&version=2.2&start=0&rows=10&indent=on&defType=dismax&mm=75%25&facet=true&facet.field=bairro&qf=agrupamentos+agrupamentos2+bairro+campanhalocalempreendimento+caracteristicas+caracteristicacomum+categoria+cep+chamada+cidade+codigoanuncio+complemento+descricaopermuta+docid+empreendimento+endereco+estado+informacoescomplementares+conteudoobservacao+sigla+subtipoimovel+tipoimovel+transacao+zapid+caminhomapa+codigooferta+segmento+anuncianteorigem+zapidcorporativo+estagiodaobra+condicoescomerciais+nomejornal+nomejornalordem+textomanual>
qf=agrupamentos+agrupamentos2+bairro+campanhalocalempreendimento+caracteristicas+caracteristicacomum+categoria+cep+chamada+cidade+codigoanuncio+complemento+descricaopermuta+docid+empreendimento+endereco+estado+informacoescomplementares+conteudoobservacao+sigla+subtipoimovel+tipoimovel+transacao+zapid+caminhomapa+codigooferta+segmento+anuncianteorigem+zapidcorporativo+estagiodaobra+condicoescomerciais+nomejornal+nomejornalordem+textomanual<http://192.168.20.8:8984/solr/Index/select/?q=apartamento+moema+praia+churrasqueira&version=2.2&start=0&rows=10&indent=on&defType=dismax&mm=75%25&facet=true&facet.field=bairro&qf=agrupamentos+agrupamentos2+bairro+campanhalocalempreendimento+caracteristicas+caracteristicacomum+categoria+cep+chamada+cidade+codigoanuncio+complemento+descricaopermuta+docid+empreendimento+endereco+estado+informacoescomplementares+conteudoobservacao+sigla+subtipoimovel+tipoimovel+transacao+zapid+caminhomapa+codigooferta+segmento+anuncianteorigem+zapidcorporativo+estagiodaobra+condicoescomerciais+nomejornal+nomejornalordem+textomanual>

This is the important part of schema:

<defaultSearchField>textoboost</defaultSearchField><copyField source="
agrupamentos2" dest="textoboost" /><copyField source="agrupamentos" dest="
textoboost" /><copyField source="bairro" dest="textoboost" /><copyField
source="campanhalocalempreendimento" dest="textoboost" /><copyField source="
caracteristicas" dest="textoboost" /><copyField source="caracteristicacomum"
 dest="textoboost" /><copyField source="categoria" dest="textoboost" /><
copyField source="cep" dest="textoboost" /><copyField source="chamada" dest
="textoboost" /><copyField source="cidade" dest="textoboost" /><copyField
source="codigoanuncio" dest="textoboost" /><copyField source="complemento"
dest="textoboost" /><copyField source="descricaopermuta" dest="textoboost"
 /><copyField source="docid" dest="textoboost" /><copyField source="
empreendimento" dest="textoboost" /><copyField source="endereco" dest="
textoboost" /><copyField source="estado" dest="textoboost" /><copyField
source="informacoescomplementares" dest="textoboost" /><copyField source="
conteudoobservacao" dest="textoboost" /><copyField source="sigla" dest="
textoboost" /><copyField source="subtipoimovel" dest="textoboost" /><
copyField source="tipoimovel" dest="textoboost" /><copyField source="
transacao" dest="textoboost" /><copyField source="zapid" dest="textoboost"
 /><copyField source="caminhomapa" dest="textoboost" /><copyField source="
codigooferta" dest="textoboost" /><copyField source="segmento" dest="
textoboost" /><copyField source="anuncianteorigem" dest="textoboost" /><
copyField source="zapidcorporativo" dest="textoboost" /><copyField source="
estagiodaobra" dest="textoboost" /><copyField source="condicoescomerciais"
dest="textoboost" /><copyField source="nomejornal" dest="textoboost" /><
copyField source="nomejornalordem" dest="textoboost" /> <copyField source="
textomanual" dest="textoboost" />

What's the problem?

Thank's

*
----------------------------------------------------------------------------------------------
*
*"E conhecereis a verdade, e a verdade vos libertará." (João 8:32)*

 *andre.maldonado*@gmail.com <andre.maldon...@gmail.com>
 (11) 9112-4227

<http://www.orkut.com.br/Main#Profile?uid=2397703412199036664>
<http://www.orkut.com.br/Main#Profile?uid=2397703412199036664>
<http://www.facebook.com/profile.php?id=100000659376883>
  <http://twitter.com/andremaldonado> <http://www.delicious.com/andre.maldonado>
  <https://profiles.google.com/105605760943701739931>
<http://www.linkedin.com/pub/andr%C3%A9-maldonado/23/234/4b3>
  <http://www.youtube.com/andremaldonado>

Reply via email to