Re: Exact match on KeywordTokenizer

2014-01-06 Thread André Maldonado
Hi Chris, thanks for your reply and sorry for my poor explained question. Here are some examples of indexed data (fieldname:propertyType): Apartamento Padrão Casa Padrão Loft Terreno And some examples of the queries propertyType:Apartamento Padrão propertyType:apartamento-padrao

Exact match on KeywordTokenizer

2014-01-02 Thread André Maldonado
Hi, Is there a way to do an exact match search on a tokenized field? I have a scenario which i need a field to be indexed and searchable regardless of the case or white spaces used. For this, I created a custom field type with the following configuration: field name=propertyType type=customtype

Re: Query to return different types of documents based on a field

2013-08-05 Thread André Maldonado
, then the first 2 bread results, and then the top healthy result. But... I suspect that this would not be acceptable because... you have additional rules that you are not disclosing. So, disclose them. -- Jack Krupansky -Original Message- From: André Maldonado Sent: Friday, August 02

Re: Query to return different types of documents based on a field

2013-08-05 Thread André Maldonado
Message- From: André Maldonado Sent: Monday, August 05, 2013 9:28 AM To: solr-user@lucene.apache.org Subject: Re: Query to return different types of documents based on a field Hi Jack, thanks for your reply and sorry for my bad english. Yes, I have other relevancy rules. All of them

Query to return different types of documents based on a field

2013-08-02 Thread André Maldonado
Hi all. In my recipes website I want to create a page where users can browse and the return must be based on this rule: - 70% of the results must be pizzas (type:pizza) - 20% of the results must be breads (type:bread) - 10% of the results must be healthy (type:healthy) But I don't know how to

Re: Not In query

2013-05-02 Thread André Maldonado
. 16:21 skrev André Maldonado andre.maldon...@gmail.com: Thank's Jan for your reply. My application has thousands of users and I don't know yet how many of them will use this feature. They can exclude one document from their search results or can exclude 200.000 documents. It's much more

Re: Not In query

2013-04-30 Thread André Maldonado
AS - www.cominvent.com Solr Training - www.solrtraining.com 26. apr. 2013 kl. 21:50 skrev André Maldonado andre.maldon...@gmail.com: Hi all. We have an index with 300.000 documents and a lot, a lot of fields. We're planning a module where users will choose some documents to exclude from

Not In query

2013-04-26 Thread André Maldonado
Hi all. We have an index with 300.000 documents and a lot, a lot of fields. We're planning a module where users will choose some documents to exclude from their search results. So, these documents will be excluded for UserA and visible for UserB. So, we have some options to do this. The

Replication strange behaviour

2012-12-07 Thread André Maldonado
Hi all. I have a master/slave server configuration that seems to be working for a while. Yesterday we updated synonyms.txt in master, and the replication did not copied the file for slave server. When we check these files in servers, we can see that the dates are different for several files.

Re: Replication strange behaviour

2012-12-07 Thread André Maldonado
replicated if there is a change in the index (if the index version from the master and the slave are the same, nothing gets replicated, not even the configuration files). Are you currently updating the index or just the configuration files? On Fri, Dec 7, 2012 at 7:58 AM, André Maldonado

Re: Replication strange behaviour

2012-12-07 Thread André Maldonado
that the replication didn't happen before you change the configuration files? On Fri, Dec 7, 2012 at 11:56 AM, André Maldonado andre.maldon...@gmail.comwrote: The index (documents), was also updated. But the two servers have the same index version. Thank's

Re: Replication strange behaviour

2012-12-07 Thread André Maldonado
...@gmail.com wrote: Have you committed the changes on the master? Are you sure that the replication didn't happen before you change the configuration files? On Fri, Dec 7, 2012 at 11:56 AM, André Maldonado andre.maldon...@gmail.comwrote: The index (documents), was also

Re: ExtendedDisMax Question - Strange behaviour

2012-06-08 Thread André Maldonado
in which the terms do occur. -- Jack Krupansky -Original Message- From: André Maldonado Sent: Wednesday, June 06, 2012 9:23 AM To: solr-user@lucene.apache.org Subject: Re: ExtendedDisMax Question - Strange behaviour Erick, thanks for your reply and sorry for the confusion in last e-mail

Re: ExtendedDisMax Question - Strange behaviour

2012-06-06 Thread André Maldonado
with debugQuery=on and looking at the parsed query, I suspect your field lists aren't the same even though you think they are. Perhaps a typo somewhere? Best Erick On Mon, Jun 4, 2012 at 1:26 PM, André Maldonado andre.maldon...@gmail.com wrote: I'm doing a query with edismax. When I don't tell

ExtendedDisMax Question - Strange behaviour

2012-06-04 Thread André Maldonado
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:

Relational data

2012-03-12 Thread André Maldonado
Hi. I need to setup an index that have relational data. This index will be for houses to rent, where the user will search for date, price, holydays (by name), etc. The problem is that the same house can have different prices for different dates. If I denormalyze this data, I will show the same

Re: Relational data

2012-03-12 Thread André Maldonado
Thank's Ahmet and Tomás. It worked like a charm. * -- * *E conhecereis a verdade, e a verdade vos libertará. (João 8:32)* *andre.maldonado*@gmail.com andre.maldon...@gmail.com (11) 9112-4227

DataImportHandler $deleteDocById question

2010-06-28 Thread André Maldonado
Hi all. I'm trying to get $deleteDocById working, but any document is being deleted from my index. I'm using Full-Import (withOUT cleaning) and a script with: row.put('$deleteDocById', row.get('codAnuncio')); The script is passing in this line for every document it processes (for testing

DIH - Deleting documents

2010-03-23 Thread André Maldonado
Hy all. How can I delete documents when using DataImportHandler on a delta import? Thank's Então aproximaram-se os que estavam no barco, e adoraram-no, dizendo: És verdadeiramente o Filho de Deus. (Mateus 14:33)

Re: DIH - Deleting documents

2010-03-23 Thread André Maldonado
#Special_CommandsSome other options: http://stackoverflow.com/questions/1555610/solr-dih-how-to-handle-deleted-documents Cheers, Mauricio 2010/3/23 André Maldonado andre.maldon...@gmail.com Hy all. How can I delete documents when using DataImportHandler on a delta import? Thank's Então

2 indexes - 1 Faceted search

2010-03-10 Thread André Maldonado
Hi all. I have 2 indexes with different structures, but a few equal fields. There is some way to do a faceted search (faceting the equal fields) in the 2 indexes at same time, with only one response (like a UNION in sql server)? Thank's Então aproximaram-se os que estavam no barco, e

Re: Randomize MoreLikeThis

2010-03-04 Thread André Maldonado
otis_gospodne...@yahoo.comwrote: The first thing that came to mind is to index a random number with each doc and sort by that. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Hadoop ecosystem search :: http://search-hadoop.com/ - Original Message From: André

Randomize MoreLikeThis

2010-03-03 Thread André Maldonado
Hello. I'm implementing More Like This functionality in my search request. Everything works fine, but I need to randomize the return of this more like this query. Something like this: *First request:* Query - docId:528369 Results - fields ... More like This result name=528369 numFound=57162

SpellCheck configuration

2010-03-01 Thread André Maldonado
Hi all. I'm configuring spell checking in my index. Everything is working, but I want to get the best suggestion based in number of ocurrences, and not in the way Solr defines. So,, let me giva an example: Query: apartamemy Suggestions: arr name=suggestion strapartamemto/str

Faceted search in 2 indexes

2010-02-23 Thread André Maldonado
Hi all. I have 2 indexes with some similar fields and some distinct fields. I need to make a faceted search that returns the union of the same search in these 2 indexes. How can I make it? Thank's Então aproximaram-se os que estavam no barco, e adoraram-no, dizendo: És verdadeiramente o Filho