Documents with SOLR function "sort" are NOT sorted by score

2014-12-11 Thread eakarsu
I am having difficulty with my sort function. With the following sort, documents are not sorted by score if you can see. Why sort function is not able to sort it properly? I appreciate your prompt answer This is my sort function. sort=map(and(termfreq(CustomersFavourite,852708),exists($exactqq)

Dynamic boosting with functions

2014-12-03 Thread eakarsu
I need to boost some of document with with a function. I can give boosting for field "myField" with bq = myField^10 But I like to give dynamic boosting based on whether or not other field "someotherfield" exists in a document or not. I like to give boosting if (exists(termfreq(someotherfield,"

Re: Boosting mixed fiedl types

2014-11-17 Thread eakarsu
Ahmet, Thanks boost parameter is determining boost value for whole query. But I am assigning boost for other individual fields. I worry whether or not boost parameter and invidiual boosts with bf and pdf will rank results properly. Erol Akarsu -- View this message in context: http://lucene.

Boosting mixed fiedl types

2014-11-17 Thread eakarsu
I have several field types and like to assign correct boosting so that I will get results in correct order. Here is a summary of what I have: 1- Product Title - text field , Boost = 160 2- Product Description - text field , Boost = 80 3-Number of clicks - Integer field, having value [1 TO 1000] ,

Every minute update on solrclound

2014-05-03 Thread eakarsu
I am using solr 4.3.1 attached solrconfig.xml file. There is no softCommit enabled in config file but master node is receiving continuously an update document evry minute. I could not figure it out where this update is coming. Solr cloud master: [04/May/2014:01:50:54 +] "GET /solr/trcollectio

Re: Unit of dimension for solr field

2013-11-12 Thread eakarsu
Erick, I haven't written any SOLR plugin before so it takes time to understand concepts. This is more simpler to implement and I think this way does not need to write any plugin SOLR, isn't it? Outside process analyses values with dimensions and prepare 2 fields as you described Erol Akarsu -

Re: Unit of dimension for solr field

2013-11-11 Thread eakarsu
Can DelimitedPayloadTokenFilterFactory be used to store unit dimension information? This factory class can store extra information for field. -- View this message in context: http://lucene.472066.n3.nabble.com/Unit-of-dimension-for-solr-field-tp4100209p4100345.html Sent from the Solr - User mai

Re: Unit of dimension for solr field

2013-11-11 Thread eakarsu
Ryan and Upayavira, Do we have an example skeleton to do this for schema.xml and solrconfig.xml? Example java class that would help to build UnitResolvingFilterFactory class? Thanks Erol Akarsu -- View this message in context: http://lucene.472066.n3.nabble.com/Unit-of-dimension-for-solr-fie

Re: Unit of dimension for solr field

2013-11-11 Thread eakarsu
Thanks Upayavira It seems it needs too much work. I will have several more fields that will have unit values. Do we have more quicker way of implementing it? We have Currency filed coming as default with SOLR. Can we use it? Creating conversion rate table for each field? What I am expecting from

Unit of dimension for solr field

2013-11-10 Thread eakarsu
I would like to have a SOLR field that has multiple unit of dimension. Suppose we store the memory value of a computer in solr field. That can have value 256 MB, 512 MB, or 1 GB where we use MB and GB units. Same case is for hard drive sizes : 256 MB,50GB or 3TB where we use MB,GB and TB units. Ho

Re: Invalid version (expected 2, but 60) or the data in not in 'javabin' format

2013-07-05 Thread eakarsu
Thanks for your answer, I can fetch 10K documents without any issue. I don't think we are having out of memory exception because each tomcat server in cluster has 8GB memory allocated. -- View this message in context: http://lucene.472066.n3.nabble.com/Invalid-version-expected-2-but-60-or-the-

Invalid version (expected 2, but 60) or the data in not in 'javabin' format

2013-07-05 Thread eakarsu
I am using Solr 4.3.1 on solrcloud with 10 nodes. I added 3 million documents from a csv file with this command curl 'http://localhost:8080/solr/trcollection2/update/csv?stream.file=/home/hduser/csvFile.csv&skipLines=1&fieldnames=,cache,segment,digest,tstamp,lang,url,,content,id,title,boost&stre

java.io.CharConversionException] Invalid UTF-8 character 0xffff at char #478803, byte #606190)

2013-04-11 Thread eakarsu
Hello, I am crawling with apache nutche some sites and index it with solr. It has been working fine until a few days ago. The crawled data can have 200K or more documents inside. When I send it to SOLR to index with bin/nutch solrindex http://.com:8080/solr crawl/crawldb -linkdb crawl/linkd

Re: Faceted search on SOLR

2013-03-07 Thread eakarsu
Thanks for help, Alexandre. It worked as you described. I have other question. Suppose I have product catalogue that has many sub categories, each one has different group of fields. When a user search the catalogue, we should show corresponding facet fields on left based on result set. That means