Re: Solr sorting situation!

2013-09-30 Thread Gustav
Anyone with any ideas? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sorting-situation-tp4091966p4092688.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr sorting situation!

2013-09-25 Thread Gustav
Hey guys, I know that sorting in Solr works as a cascade, but i'm kind stuck in a rough situation: I've got the following sort fields in a Product: ProductSequence(0~99 default=99),ProductName(text_general),ProductType(0~1),ProductHasPrinciples(0~1),ProductInStock(0~1),ProductPrice(0~999,99)

Solr 4.3.1 only accepts UTF-8 encoded queries?

2013-07-26 Thread Gustav
Hey guys, i have a Solr 4.3 instance running in my server, but Im having some troubles with encoding URL querystring. Im currently encoding my query characters, so, when its searched for Café, its actually encoded to caf%E9 and cão is encoded to c%E3o. My URLencoding in tomcat is iso-8859-1, but

Re: Exact Match

2013-07-26 Thread Gustav
Try using the Solr's Analysis tool(http://localhost:8983/solr/analysis) to check all the tokenizers/filters chain that modifies your query. What's probably happening is that the field url uses a tokenizer or filter that removes the *special* chars ://. -- View this message in context:

Re: Solr 4.3.1 only accepts UTF-8 encoded queries?

2013-07-26 Thread Gustav
Thanks for the answer Shawn, The problem here is that in my client's application, the query beign encoded in iso-8859-1 its a *must*. So, this is kind of a trouble here. I just dont get how this encoding could work on queries in version 3.5, but it doesnt in 4.3. -- View this message in

Re: More than one sort criteria

2013-04-30 Thread Gustav
Peter, try sorting them only using one sort parameter, separating the fields by comma. sort=zip+asc,street+asc -- View this message in context: http://lucene.472066.n3.nabble.com/More-than-one-sort-criteria-tp4059989p4060015.html Sent from the Solr - User mailing list archive at Nabble.com.

What is the difference between a Join Query and Embedded Entities in Solr DIH?

2013-04-25 Thread Gustav
Hello guys, i saw this thread on stackoverflow, but still not satisfied with the answers. I am trying to index data across multiple tables using Solr's Data Import Handler. The official wiki on the DIH suggests using embedded entities to link multiple tables like so: document entity

Re: Block creation of new instances in Solr's startup

2013-01-22 Thread Gustav
Sorry my misunderstanding Upayavira, Im actually talking about stopping some solr cores from loading up. -- View this message in context: http://lucene.472066.n3.nabble.com/Block-creation-of-new-instances-in-Solr-s-startup-tp4035311p4035321.html Sent from the Solr - User mailing list archive

Re: How to round solr score ?

2013-01-18 Thread Gustav
Hey Gora, thanks for the fast answer! I Had tried the rint(score) function before(it would be perfect in my case) but it didnt work out, i guess it only works with indexed fields, so i got the sort param could not be parsed as a query, and is not a field that exists in the index: rint(score)

Re: Suggester for numbers

2012-11-22 Thread Gustav
Hello Illu, Here you go: field name='autocomplete' type='text_auto' indexed='true' stored='true' multiValued='true'/ fieldType class=solr.TextField name=text_auto analyzer tokenizer class=solr.KeywordTokenizerFactory/ filter

Suggester for numbers

2012-11-21 Thread Gustav
Hello guys, Please i need help.. im using the suggest search component for autocomplete in Solr 3.6.1, i have an autocomplete field wich contains two other fields: an conteiner_name and conteiner_id just like this: field name='autocomplete' type='text_auto' indexed='true' stored='true'

Re: Subqueries... using results from the main query

2012-11-01 Thread Gustav
Could you please explain what the + operator mean? About the X and Y... i don't have the products_ids related to the results, and i was expecting to make a subquery related to the ids returned from the main query -- View this message in context:

Subqueries... using results from the main query

2012-10-30 Thread Gustav
Hello everyone, i would like to know if it is possible to make a SUBQUERY inside my query considering a field's current result of the main query in this subquery, Let me try to give a better explaination I Have a simple query, something like this: /?q=1234qf=product_id, this returns to me

char in querystring

2012-09-20 Thread Gustav
Good Morning Everyone! Again, i need your help Lucene comunity! I have a query string just like this: q=johnson johnson and when i use debugQuery=true i realize that the Solrparse breaks the string exactly in the char, changing my query to q=Johnson, i would like to know, is there any way to

Re: char in querystring

2012-09-20 Thread Gustav
Hello Jack, My the fieldtype is configured as following: fieldType class=solr.TextField name=exact_search positionIncrementGap=100 analyzer tokenizer class=solr.KeywordTokenizerFactory/ filter class=solr.ISOLatin1AccentFilterFactory/ filter

Stats field with decimal values

2012-09-17 Thread Gustav
Hello everyone, When im using stats=truestats=product_price parameter, it returns me the following structure: lst name=stats lst name=stats_fields lst name=produto_preco double name=min1.0/double double name=max1.0/double long name=count7/long long name=missing0/long double name=sum7.0/double

Re: Stats field with decimal values

2012-09-17 Thread Gustav
Well, my client is asking if is it possible, im just providing the search enginne to him, not working directly with the application. Dont know exactly in what language he is programming. -- View this message in context:

Re: Is it possible to do an if statement in a Solr query?

2012-09-14 Thread Gustav
Hello Hoss! The case here would be: if total result set contains any original medicines X, then remove all generic medicines Y such that Y is a generic form of X. In your example and in my case, the result should be Vaxidrop + Generipill -- View this message in context:

Re: Is it possible to do an if statement in a Solr query?

2012-09-13 Thread Gustav
Walter Underwood wrote You may be able to do this with grouping. Group on the medicine family, and only show the Original if there are multiple items in the family. wunder On Sep 12, 2012, at 2:09 PM, Gustav wrote: Hello everyone, I'm working on an e-commerce website and using Solr

Is it possible to do an if statement in a Solr query?

2012-09-12 Thread Gustav
Hello everyone, I'm working on an e-commerce website and using Solr as my Search Engine, im really enjoying its funcionality and the search options/performance. But i am stucky in a kinda tricky cenario... That what happens: I Have a medicine web-store, where i indexed all necessary products in