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" propertyTyp

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: Even usi

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

2013-08-05 Thread André Maldonado
ed to be an over-query > since only that category will be returned. > > > -- Jack Krupansky > > -Original 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 docu

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

2013-08-05 Thread André Maldonado
the top 7 pizza results, 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-

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 qu

Re: Not In query

2013-05-02 Thread André Maldonado
search solution architect > Cominvent AS - www.cominvent.com > Solr Training - www.solrtraining.com > > 30. apr. 2013 kl. 16:21 skrev André Maldonado : > > > Thank's Jan for your reply. > > > > My application has thousands of users and I don't know yet how

Re: Not In query

2013-04-30 Thread André Maldonado
> should perhaps consider other options and benchmark up front. > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > Solr Training - www.solrtraining.com > > 26. apr. 2013 kl. 21:50 skrev André Maldonado : > > > Hi all. > > > > We have an i

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 simplest

Re: Replication strange behaviour

2012-12-07 Thread André Maldonado
4/4b3> <http://www.youtube.com/andremaldonado> On Fri, Dec 7, 2012 at 2:04 PM, Tomás Fernández Löbbe wrote: > hmm then I'm not sure what can be happening. Do you see anything in the > logs? any exception? Maybe you can share a piece of log that includes the > replicati

Re: Replication strange behaviour

2012-12-07 Thread André Maldonado
d 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 > wrote: > > > The index (

Re: Replication strange behaviour

2012-12-07 Thread André Maldonado
ote: > If I remember correctly, updated files in the master only get 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

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. Th

Re: ExtendedDisMax Question - Strange behaviour

2012-06-08 Thread André Maldonado
gt; second. Then examine each non-text "string" field value of that document to > see if the query terms would match after text field analysis but are not > exact string matches for the string fields in which the terms do occur. > > -- Jack Krupansky > -Original Message

Re: ExtendedDisMax Question - Strange behaviour

2012-06-06 Thread André Maldonado
d to read with all the data inline. > > Try running 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,

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: http://000.000.0.0:/solr/select/?q=apartamento+moema+praia+churrasqueira&version=2.2&start=0&rows=10&indent=on&defType=dismax&mm=75%25

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 (11) 9112-4227

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 h

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 purpos

Re: DIH - Deleting documents

2010-03-23 Thread André Maldonado
wiki.apache.org/solr/DataImportHandler#Special_Commands>Some > other > > options: > > > http://stackoverflow.com/questions/1555610/solr-dih-how-to-handle-deleted-documents > > > > Cheers, > > Mauricio > > > > 2010/3/23 André Maldonado > > >

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)

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 adoraram-

Relevance Customization

2010-03-04 Thread André Maldonado
Hi all. I want to know if its possible to customize the solr relevance, somehing like this: 1 - I create a static score for each document and index it. 2 - I change the relevance to Score(Solr) + Score(Static) where the solr score is equal to 30% of the total score. Mixing the two scores into onl

Re: Randomize MoreLikeThis

2010-03-04 Thread André Maldonado
03, Otis Gospodnetic wrote: > 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/ > > > >

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 12 *Second request:* (same query, ot

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: apartamemto apartameto apartameno apartament a

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