Re: mysolr python client

2011-12-01 Thread Marco Martinez
/IntegratingSolr). Regards, Marc. On Thu, Dec 1, 2011 at 10:42 AM, Jens Grivolla j+...@grivolla.net wrote: On 11/30/2011 05:40 PM, Marco Martinez wrote: For anyone interested, recently I've been using a new Solr client for Python. It's easy and pretty well documented. If you're

mysolr python client

2011-11-30 Thread Marco Martinez
Hi all, For anyone interested, recently I've been using a new Solr client for Python. It's easy and pretty well documented. If you're interested its site is: *http://mysolr.redtuna.org/* * * bye! Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª

Re: Error Instantiating QParserPlugin

2011-10-20 Thread Marco Martinez
its seem that the problem is QParserPlugin2 class Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2011/10/20 karan.jindal1...@rediffmail.com hi, while to create customized query parser plugin

Re: Solr scraping: Nutch and other alternatives.

2011-10-18 Thread Marco Martinez
Hi Luis, Have you tried the copyField function with custom analyzers and tokenizers? bye, Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2011/10/18 Luis Cappa Banda luisca...@gmail.com Hello

Re: Controlling the order of partial matches based on the position

2011-10-18 Thread Marco Martinez
Hi, I would use a custom function query that uses termPositions to calculate the order of the values in the field to accomplished your requirements. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42

Re: PositionIncrement gap and multi-valued fields.

2011-08-09 Thread Marco Martinez
Hi Luis, As far as i know, the position increment gap only affects in some queries, like phrase queries if you use the slop. The position incremente gap does not affect the similarity scoring formula of lucene : score(q,d) =

term positions performance

2011-07-20 Thread Marco Martinez
Hi, I am developing a new query term proximity and i am using the term positions to get the positions of each term. I want to know if there is any clues to increase the perfomance of using term positions, in index time o in query time, all my fields that i am applying the term positions are

Re: term positions performance

2011-07-20 Thread Marco Martinez
Also, i develop this query via function query, i wonder if i do it via a normal query will increase the perfomance.. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2011/7/20 Marco Martinez mmarti

Re: embeded solrj doesn't refresh index

2011-07-20 Thread Marco Martinez
You should send a commit to you embedded solr Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2011/7/20 Jianbin Dai j...@huawei.com Hi, I am using embedded solrj. After I add new doc to the

function queries scope

2011-06-07 Thread Marco Martinez
Hi, I need to use the function queries operations with the score of a given query, but only in the docset that i get from the query and i dont know if this is possible. Example: q=shops in madridreturns 1 docs with a specific score for each doc but now i need to do some stuff like

Re: function queries scope

2011-06-07 Thread Marco Martinez
:53 AM, Marco Martinez mmarti...@paradigmatecnologico.com wrote: Hi, I need to use the function queries operations with the score of a given query, but only in the docset that i get from the query and i dont know if this is possible. Example: q=shops in madridreturns 1

Re: function query apply only in the subset of the query

2011-04-13 Thread Marco Martinez
de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2011/4/12 Yonik Seeley yo...@lucidimagination.com On Tue, Apr 12, 2011 at 10:25 AM, Marco Martinez mmarti...@paradigmatecnologico.com wrote: Thanks but I tried this and I saw that this work in a standard scenario

Re: function query apply only in the subset of the query

2011-04-13 Thread Marco Martinez
, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2011/4/13 Marco Martinez mmarti...@paradigmatecnologico.com No, this query returns a few more documents than if a do it by lucene query parser. I'm going to generate another query parser that send a simple term query and see

function query apply only in the subset of the query

2011-04-12 Thread Marco Martinez
Hi everyone, My situation is the next, I need to sum the value of a field to the score to the docs returned in the query, but not to all the docs, example: q=car returns 3 docs 1- name=car ford marketValue=1 score=1.3 2- name=car citroen marketValue=2 score=1.3 3- name=car mercedes

Re: function query apply only in the subset of the query

2011-04-12 Thread Marco Martinez
:marketValue On Apr 12, 2011, at 07:11 , Marco Martinez wrote: Hi everyone, My situation is the next, I need to sum the value of a field to the score to the docs returned in the query, but not to all the docs, example: q=car returns 3 docs 1- name=car ford marketValue=1 score

Re: Different Results..

2010-12-22 Thread Marco Martinez
We need more information about the the analyzers and tokenizers of the default field of your search Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/12/22 satya swaroop satya.yada...@gmail.com

Re: White space in facet values

2010-12-22 Thread Marco Martinez
try to copy the values (with copyfield) to a string field Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/12/22 Peter Karich peat...@yahoo.de you should try fq=Product:Electric Guitar

Re: Solr search speed very low

2010-08-25 Thread Marco Martinez
You should use the tokenizer solr.WhitespaceTokenizerFactory in your field type to get your terms indexed, once you have indexed the data, you dont need to use the * in your queries that is a heavy query to solr. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26.

Re: Search Results optimization

2010-08-13 Thread Marco Martinez
You can use a boost higher for stapler to accomplished your requirement. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/8/13 Hasnain hasn...@hotmail.com Hi All, My question is related to

Re: index pdf files

2010-08-12 Thread Marco Martinez
To help you we need the description of your fields in your schema.xml and the query that you do when you search only a single word. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/8/12 Ma,

custom scoring phrase queries

2010-06-18 Thread Marco Martinez
Hi, I want to know if its posiible to get a higher score in a phrase query when the matching is on the left side of the field. For example: doc1=name:stores peter john doc2=name:peter john stores doc3=name:peter john something if you do a search with name=peter john the resultset i want to get

Re: custom scoring phrase queries

2010-06-18 Thread Marco Martinez
/package.html||SpanFirstQueryhttp://search-lucene.com/c/Lucene:/src/java/org/apache/lucene/search/spans/package.html%7C%7CSpanFirstQuery Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message From: Marco

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Marco Martinez
Hi Scott, We need more information about your request, can you put the query that you are doing to the servers. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/6/7 Scott Zhang

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Marco Martinez
but still nothing returned. URL: http://localhost:8983/solr/select?shards=localhost:7574/solr/indent=trueq=marship return numFound=7 too. And the result has nothing. Please help. Thanks. Regards. Scott On Mon, Jun 7, 2010 at 3:47 PM, Marco Martinez mmarti...@paradigmatecnologico.com

Re: solr.solr.home

2010-05-27 Thread Marco Martinez
Hi, When you start the tomcat, you can specify the properties, it will be something like this -Dsolr.solr.home=path/to/your/solr/home. For example, in linux ./startup.sh -Dsolr.solr.home=path/to/your/solr/home Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26.

Re: Any realtime indexing plugin available for SOLR

2010-05-26 Thread Marco Martinez
Maybe this will help you http://snaprojects.jira.com/wiki/display/ZOIE/Zoie+Solr+Plugin Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/5/26 bbarani bbar...@gmail.com Hi, Sorry if I am

Re: disable caches in real time

2010-05-19 Thread Marco Martinez
Hi Chris, Thank you for your answer. I've always undestand that if you do a commit (replication does it), a new searcher is open, and you lose performance (queries per second) while the caches are regenerated. I think i don't explain correctly my situation before, with my schema i want to avoid

Re: Storing RandomSortField

2010-05-19 Thread Marco Martinez
Hi Alexandre, I am not totally sure about this, but the random sort field its only used to do a random sort on your searchs, and you will to pass differents values to have differents sorts, so this only applies in the searchs, so no value is indexed. You will find more information here:

Re: Multifaceting on multivalued field

2010-05-18 Thread Marco Martinez
Hi, This exception is fired when you don't have this field on your index, but this comes because you have an error in your query syntax !{ex=cars}cars, should be {*!*ex=cars}cars , whith the exclamation inside the brackets. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida

Re: disable caches in real time

2010-05-17 Thread Marco Martinez
Pozuelo de Alarcón Tel.: 91 352 59 42 2010/5/14 Marco Martinez mmarti...@paradigmatecnologico.com Hi, I want to know if there is any approach to disable caches in a specific core from a multicore server. My situation is the next: I have a multicore server where the core0 will be listen

Re: Targeting two fields with the same query or one field gathering contents from both ?

2010-05-17 Thread Marco Martinez
No, the equivalent for this will be: - A: (the lazy fox) *OR* B: (the lazy fox) - C: (the lazy fox) Imagine the situation that you dont have in B 'the lazy fox', with the AND you get 0 results although you have 'the lazy fox' in A and C Marco Martínez Bautista

disable caches in real time

2010-05-14 Thread Marco Martinez
Hi, I want to know if there is any approach to disable caches in a specific core from a multicore server. My situation is the next: I have a multicore server where the core0 will be listen to the queries and other core (core1) that will be replicated from a master server. Once the replication

Re: Question on pf (Phrase Fields)

2010-05-13 Thread Marco Martinez
I don't know if this solution accomplished your requirements but you can use fq to do the query with only foo and q when you search by more terms. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42

Re: JTeam Spatial Plugin

2010-05-12 Thread Marco Martinez
Hi, You can use localsolr (http://www.gissearch.com/localsolr) that supports sharding if you need this feature. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/5/11 Jean-Sebastien Vachon

Re: multivalue fields logic required

2010-05-12 Thread Marco Martinez
, I am trying to patch for collapse component support (till now no luck).. In mean time I would like to know the 2nd and 3rd option you mentioned (logic in solrj).. with regards On Thu, May 6, 2010 at 2:36 PM, Marco Martinez mmarti...@paradigmatecnologico.com wrote: Hi Jonty, I

Re: multivalue fields logic required

2010-05-12 Thread Marco Martinez
no..) so how can I set the flag.. thank On Wed, May 12, 2010 at 12:59 PM, Marco Martinez mmarti...@paradigmatecnologico.com wrote: Hi, 2º solution: Not use multiValue fields, instead use two single fields, in your example will be: doc1: dept: student1 city: city1

Re: multivalue fields logic required

2010-05-06 Thread Marco Martinez
Hi Jonty, I think you have three possible solutions: 1. Use the collapse component with your name field for not have any duplicates documents. 2. Create a simple logic in your index with flags, like one flag to determine the first element of the same document (in your example you

Re: hi to everyone

2010-05-06 Thread Marco Martinez
You should specify the core in your request, like http://localhost:8080/solr/*core0*/update?... where /solr/ is your webapp and 'core0' is the name of the core. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón

Re: hi to everyone

2010-05-06 Thread Marco Martinez
. Is there a command to add an xml file to a particular core, imagining we can have an indefinite number of cores ? 2010/5/6 Marco Martinez mmarti...@paradigmatecnologico.com You should specify the core in your request, like http://localhost:8080/solr/*core0*/update?... where /solr/ is your

Re: synonym filter problem for string or phrase

2010-05-03 Thread Marco Martinez
Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/4/30 Jonty Rhods jonty.rh...@gmail.com On 4/29/10 8:50 PM, Marco Martinez wrote: Hi Ranveer, If you don't specify a field type in the q parameter, the search will be done searching in your default search field

Re: synonym filter problem for string or phrase

2010-04-29 Thread Marco Martinez
Hi Ranveer, If you don't specify a field type in the q parameter, the search will be done searching in your default search field defined in the solrconfig.xml, its your default field a text_sync field? Regards, Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26.

Re: Facet count problem

2010-04-19 Thread Marco Martinez
Hi Ranveer, The error in the count of the facets its caused by the tokenized field that you are using, if you want to do facets for the whole string, use a fieldType that doesn't strip the the field in tokens like the string field. Regards, Marco Martínez Bautista

Re: Replication process on Master/Slave slowing down slave read/search performance

2010-04-09 Thread Marco Martinez
Hi Marcin, This is because when you do the replication, all the caches are rebuild cause the index has changed, so the searchs performance decrease. You can change your architecture to a multicore one to reduce the impact of the replication. Using two cores, one to do the replication, and other

Re: Solr query parser doesn't invoke analyzer for simple term query?

2010-03-17 Thread Marco Martinez
Hello, You can see what happen (which analyzer are used for this field and which is the output of the analyzers) with this search using the analysis page of the solr default web page. I assume you are using the same analyzers and tokenizers in indexing and searching for this field in your schema.