Need help with Nested docs situation

2015-04-30 Thread roySolr
Hello, I have a situation and i'm a little bit stuck on the way how to fix it. For example the following data structure: *Deal* All Coca Cola 20% off *Products* Coca Cola light Coca Cola Zero 1L Coca Cola Zero 20CL Coca Cola 1L When somebody search to "Cola" discount i want the result of the d

Add core in solr.xml | Problem with starting SOLRcloud

2014-10-16 Thread roySolr
Hello, Our platform has 4 solr instances and 3 zookeepers(solr 4.1.0). I want to add a new core in my solrcloud. I add the new core to the solr.xml file: I put the config files in the directory collection2. I uploaded the new config to zookeeper and start solr. Solr did not start up and gives

Re: SOLR4 Spatial sorting and query string

2013-08-15 Thread roySolr
Hello David, The first months there will be not that many points in a doc, i will keep the topic in mind! The next step is that i want to now which location matched my query. Example: Product A is available in 3 stores, the doc looks like this: / Product A store1_geo store2_geo store3_ge

Re: SOLR4 Spatial sorting and query string

2013-08-14 Thread roySolr
Hello, I have a question about performance with a lot of points and spatial search. First i will explain my situation: We have some products data and want to store every geo location of stores that sells this product. I use a multivalued coordinates field with the geo data: lat,long lat,long

Re: SOLR4 Spatial sorting and query string

2013-08-14 Thread roySolr
Great, it works very well. In solr 4.5 i will use geodist() again! Thanks David -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string-tp4084318p4084487.html Sent from the Solr - User mailing list archive at Nabble.com.

SOLR4 Spatial sorting and query string

2013-08-13 Thread roySolr
Hello, I use the following distance sorting of SOLR 4(solr.SpatialRecursivePrefixTreeFieldType): fl=*,score&sort=score asc&q={!geofilt score=distance filter=false sfield=coords pt=54.729696,-98.525391 d=10} (from the tutorial on http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4) Now i

Realtime updates solrcloud

2013-03-29 Thread roySolr
Hello Guys, I want to use the realtime updates mechanism of solrcloud. My setup is as follow: 3 solr engines, 3 zookeeper instances(ensemble) The setup works great, recovery, leader election etc. The problem is the realtime updates, it's slow after the servers gets some traffic. I try to expla

Re: Advice: solrCloud + DIH

2013-03-15 Thread roySolr
Thans for the support so far, I was running the dataimport on a replica! Now i start it on the leader and it goes with 590 doc/s. I think all docs were going to another node and then came back. Is there a way to get the leader? If there is, i can detect the leader with a script and start the DIH

Advice: solrCloud + DIH

2013-03-14 Thread roySolr
Hello, I need some advice with my solrcloud cluster and the DIH. I have a cluster with 3 cloud servers. Every server has an solr instance and a zookeeper instance. I start it with the -Dzkhost parameter. It works great, i send updates by an curl(xml) like this: curl http:/ip:SOLRport/solr/update

Re: SolrCloud: port out of range:-1

2013-03-11 Thread roySolr
On the end i want 3 servers, this was only a test. I now that a majority of servers is needed to provide service. I read some tutorials about zookeeper and looked at the wiki. I installed zookeeper seperate on the server and connect them with eachother(zoo.cfg). In the log i see the zookeeper know

SolrCloud: port out of range:-1

2013-03-08 Thread roySolr
Hello, I have some problems with Solrcloud and Zookeeper. I have 2 servers and i want to have a solr instance on both servers. Both solr instances runs an embedded zookeeper. When i try to start the first one i get the error: "port out of range:-1". The command i run to start solr with embedded

Re: Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-28 Thread roySolr
Hello Jack, Thanks for your answer. It's clear, i think it was a bug in 3.1. The difference in fieldnorm was just not what i expected. I will tweak the schema to get it closer to the expected results. Thanks Jack, Roy -- View this message in context: http://lucene.472066.n3.nabble.com/Fieldno

Re: Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-28 Thread roySolr
Hello Jack, I'm using exactly the same fieldtype: It looks like the catenatewords has another influence in solr 4.1 than in previous version.(3.1) The analyze i

Re: Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-28 Thread roySolr
I have done some more testing with different examples. It's really the worddelimiter that influence the fieldnorm. When i search for "Barcelona" the doc with "FC Barcelona" scores higher than "FC-Barcelona". Fieldnorm for "FC Barcelona" = 0.625 and the fieldnorm for "FC-Barcelona" = 0.5. Analyz

Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-25 Thread roySolr
Hello, I had some differences in solr score between solr 3.1 and solr 4. I have a searchfield with the following type: An example of fieldnorms: SearchT

Re: Scoring differences solr versions

2013-01-22 Thread roySolr
Hello Shawn, Thanks for the help: Indented format: *SOLR4* 3.3243241 = (MATCH) sum of: 0.20717455 = (MATCH) max plus 1.0 times others of: 0.19920631 = (MATCH) weight(firstname_search:g^50.0 in 783453) [DefaultSimilarity], result of: 0.19920631 = score(doc=783453,freq=1.0 = termFreq

Scoring differences solr versions

2013-01-21 Thread roySolr
Hi, I have some question about the scoring in SOLR4. I have the same query on 2 versions of SOLR(same indexed docs). The debug of the scoring: *SOLR4:* 3.3243241 = (MATCH) sum of: 0.20717455 = (MATCH) max plus 1.0 times others of: 0.19920631 = (MATCH) weight(firstname_search:g^50.0 in 783453) [De

Order SOLR 4 output

2012-12-18 Thread roySolr
Hello, I have a really simple question i think: What is the order of the fields that are in the SOLR response? In SOLR 3.1 it was alfabetic but in SOLR 4 it isn't anymore. Is it configurable? I want to know this because i have test script that checks differences in output between the SOLR versio

Spelling output solr 4

2012-12-07 Thread roySolr
Hello, It looks like the directspelling component returns the correction between "(correction)". Why is this and are there some other differences in the spelling component in solr 4(towards solr 3.1) Thanks Roy -- View this message in context: http://lucene.472066.n3.nabble.com/Spelling-outpu

Re: From Solr3.1 to SolrCloud

2012-11-26 Thread roySolr
Mark: I'm using a separate zookeeper instance. I don't use the embedded zk in solr. I can't find the location where the configs are stored, i can login to zookeeper and see the configs. delete commando works but i can't delete the whole config directory in once, only file by file. Erick, The nodes

Re: From Solr3.1 to SolrCloud

2012-11-26 Thread roySolr
Ok, that's important for the traffic. Some questions about zookeeper. I have done some tests and i have the following questions: - How can i delete configs from zookeeper? - I see some nodes in the clusterstate that are already gone. Why is this not up-to-date? Same for graph. Thanks again!

Re: From Solr3.1 to SolrCloud

2012-11-23 Thread roySolr
Thanks Tomás for the information so far. You said: You can effectively run with only one zk instance, the problem with this is that if that instance dies, then your whole cluster will go down. When the cluster goes down i can still send queries to the solr instances? We have a lb that's choose a

Re: From Solr3.1 to SolrCloud

2012-11-22 Thread roySolr
I run a separate Zookeeper instance right now. Works great, nodes are visible in admin. Two more questions: - I change my synonyms.txt on a solr node. How can i get zookeeper in sync and the other solr nodes without restart? - I read something more about zookeeper ensemble. When i need to run wi

Re: From Solr3.1 to SolrCloud

2012-11-21 Thread roySolr
Thanks Tomás, I will use numshards=1. Are there some instructions on how to install only zookeeper on a separate server? Or do i have to install solr 4 on that server? How make the connection between the solr instances and the zk instance(server)? Thanks so far, Roy -- View this message in

From Solr3.1 to SolrCloud

2012-11-21 Thread roySolr
hello, We are using solr 3.1 for searching on our webpage right now. We want to use the nice features of solr 4: realtime search. Our current configuration looks like this: Master Slave1 Slave2 Slave3 We have 3 slaves and 1 master and the data is replication every night. In the future we want to

Solr backup replication -> restore from snapshot

2012-09-11 Thread roySolr
Hello, I have some question about restoring from a snapshot backup. I have a master and do the following command: http://solr.test.uk:/solr/replication?command=backup It created a directory in my data directory: snapshot.20120911224532 When i want to use this backup on master i replace the

Must match and terms with only one letter

2012-05-16 Thread roySolr
Hello, I use the MM function on my edismax requesthandler(70%). This works great but i have one problem: When is search for "A Cole" there has to been only one term match(mm = 70%). The problem is the "A", It returns 9200 documents with an "A" in it. Is there a posssibility to skip terms with onl

Boosting score by Geo distance

2012-05-16 Thread roySolr
Hello, I want to boost the score of the founded documents by geo distance. I use this: bf=recip(geodist(),2,1000,30) It works but i don't know what the parameters mean? (2,1000,30) Thanks Roy -- View this message in context: http://lucene.472066.n3.nabble.com/Boosting-score-by-Geo-distance

Re: Re:how to monitor solr in newrelic

2012-02-14 Thread roySolr
Try this when you start SOLR java -javaagent:/NEWRELICPATH/newrelic.jar -jar start.jar Normally you will see your SOLR installation on your newrelic dashboard in 2 minutes. -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-monitor-solr-in-newrelic-tp3739567p3743488.ht

Differences in debugQuery and results

2011-12-21 Thread roySolr
Hello, I have some configuration problems and can't get it working. I see some differences with the debugQuery. I search for: w.j ((DisjunctionMaxQueryname1_search:w name1_search:j)^5.0) | ((name2_search:w name2_search:j)^5.0))~1.0) I search for: w j ((DisjunctionMaxQuery((name1_search:w^5.

Re: Replication downtime?? - master slave

2011-12-09 Thread roySolr
Thanks Erick, It's good to hear the slave doesn't notice anything. Roy -- View this message in context: http://lucene.472066.n3.nabble.com/Replication-downtime-master-slave-tp3561031p3572969.html Sent from the Solr - User mailing list archive at Nabble.com.

Replication downtime?? - master slave

2011-12-05 Thread roySolr
Hello, I have one solr instance and i'm very happy with that. Now we have multiple daily updates and is see the response time is slower when doing a update. I think i need some master slave replication. Now my question is: Is a slave slower when there is an replication running from master to slave

Re: Autocomplete(terms) performance problem

2011-11-24 Thread roySolr
Thanks, it looks great! In the nearby future i will give it a try. -- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-performance-problem-tp3351352p3533066.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Autocomplete(terms) performance problem

2011-11-23 Thread roySolr
Thanks for your answer Nagendra, The problem is i want to do some infix searches. When i search for "sisco" i want the autocomplete with "san fran*sisco*". In the example you gave me it's also not possible. Roy -- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-ter

Re: One field must match with edismax

2011-11-11 Thread roySolr
Thanks, it was that easy. I was thinking about a variant of the mm option in dismax but this works great! -- View this message in context: http://lucene.472066.n3.nabble.com/One-field-must-match-with-edismax-tp3496232p3499312.html Sent from the Solr - User mailing list archive at Nabble.com.

One field must match with edismax

2011-11-10 Thread roySolr
Hello, I have some problems with my application. I have some fields and use edismax to search between them. Now i want to configure that one field must match. Let's give an example: firstname lastname Nicknames Lionel messi loe,pulga When i search i want only results that m

solr.PatternReplaceFilterFactory AND endoffset

2011-10-26 Thread roySolr
Hi, I have some problems with the patternreplaceFilter. I can't use the worddelimiter because i only want to replace some special chars given by myself. Some example: Tottemham-hotspur (london) Arsenal (london) I want this: replace "-" with " " "(" OR ")" with "". In the analytics i see this:

Re: Performance issue: Frange with geodist()

2011-10-17 Thread roySolr
Hi Yonik, I have used your suggestion to implement a better radius searcher: &facet.query={!geofilt d=10 key=d10} &facet.query={!geofilt d=20 key=d20} &facet.query={!geofilt d=50 key=d50} It is a little bit faster than with geodist() but still a bottleneck i think. -- View this message in cont

Re: Performance issue: Frange with geodist()

2011-10-13 Thread roySolr
I don't want to use some basic facets. When the user doesn't get any results i want to search in the radius of his search location. Example: apple store in Manchester gives no result. I want this: Click here to see 2 results in a radius of 10km. Click here to see 11 results in a radius of 50km. C

Re: Performance issue: Frange with geodist()

2011-10-13 Thread roySolr
Hello Mikhail, Thanks for your answer.. I think my cache is enabled for Geodist(). First time request takes 1440ms and second time only 2ms. In the statistics i see it's hits the cache. The problem is every request had another location with other distances and results. So almost every request tak

Performance issue: Frange with geodist()

2011-10-13 Thread roySolr
Hello, I use the facet.query to search documents nearby the search location. It looks like this: facet.query={!frange l=0 u=10}geodist() facet.query={!frange l=0 u=20}geodist() facet.query={!frange l=0 u=50}geodist() facet.query={!frange l=0 u=100}geodist() SFIELD and the PT are set, and it work

RE: Errors in requesthandler statistics

2011-09-29 Thread roySolr
Hi, Thanks for your answer. I have some logging by jetty. Every request looks like this: 2011-09-29T12:28:47 1317292127479 18470 org.apache.solr.core.SolrCore INFO org.apache.solr.core.SolrCore execute 20 [] webapp=/solr path=/select/ params={spellcheck=true&facet=true&sort=ge

Errors in requesthandler statistics

2011-09-29 Thread roySolr
Hello, I was taking a look to my SOLR statistics and i see in part of the requesthandler a count of 23 by errors. How can i see which requests returns this errors? Can i log this somewhere? Thanks Roy -- View this message in context: http://lucene.472066.n3.nabble.com/Errors-in-requesthandler-s

Re: Slow autocomplete(terms)

2011-09-23 Thread roySolr
Thanks for helping me so far, Yes i have seen the edgeNGrams possiblity. Correct me if i'm wrong, but i thought it isn't possible to do infix searches with edgeNGrams? Like "chest" gives suggestion "manchester". -- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-t

Re: Slow autocomplete(terms)

2011-09-22 Thread roySolr
Hello Erick, Thanks for your answer but i have some problems with the ngramfilter. My conf look like this: I see this in the analysis: "manchester" ma an nc ch he es st t

Re: Autocomplete(terms) performance problem

2011-09-20 Thread roySolr
thanks Klein, If I understand correctly there is for now no solution for this problem. The best solution for me is to limit the count of suggestions. I still want to use the regex and with 100.000 docs it looks like it's no problem. -- View this message in context: http://lucene.472066.n3.nabb

Slow autocomplete(terms)

2011-09-20 Thread roySolr
Hello, I used the terms request for autocomplete. It works fine with 200.000 records but with 2 million docs it's very slow.. I use some regex to fix autocomplete in the middle of words, example: chest -> manchester. My call(pecl PHP solr): $query = new SolrQuery(); $query->setTermsLimit("10");

Synonyms problem

2011-09-07 Thread roySolr
hello, I have some problems with synonyms. I will show some examples to descripe the problem: Data: High school Lissabon High school Barcelona University of applied science When a user search for IFD i want all the results back. So i want to use this synonyms at query time: IFD => high school

Re: Find results with or without whitespace

2011-08-31 Thread roySolr
Frankie, Have you fixes this issue? I'm interested in your solution,, -- View this message in context: http://lucene.472066.n3.nabble.com/Find-results-with-or-without-whitespace-tp3117144p3298298.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Strip special chars like "-"

2011-08-12 Thread roySolr
Erick, you're right. It's working, my schema looks like this: Thanks for helping me!! -- View this message in cont

Re: Strip special chars like "-"

2011-08-09 Thread roySolr
Ok, i there are three query possibilities: Manchester-united Manchester united Manchesterunited The original name of the club is "manchester-united". generateWordParts will fixes two of these possibilities: "Manchester-united" => "manchester","united" I can search for "Manchester-united" and

Re: Strip special chars like "-"

2011-08-09 Thread roySolr
Yes, i understand the difference between generateWordParts and catenateWords. But i can't fix my problem with these options, It doesn't fix all the possibilities. -- View this message in context: http://lucene.472066.n3.nabble.com/Strip-special-chars-like-tp3238942p3239186.html Sent from the Solr

Re: Strip special chars like "-"

2011-08-09 Thread roySolr
The catenateWordParts option has the following effect: manchester-united => "manchester","united" The query "manchesterunited" will not match with: "manchester","united". Maybe i'm wrong but i have test something similar in the past. -- View this message in context: http://lucene.472066.n3.nabb

Re: Strip special chars like "-"

2011-08-09 Thread roySolr
With the worddelimiter i can only fix the first 2 situations("manchester-united" and "manchester united") I can use something like generateWordParts. But i think this doesn't fix the problem with "manchesterunited". -- View this message in context: http://lucene.472066.n3.nabble.com/Strip-specia

Strip special chars like "-"

2011-08-09 Thread roySolr
Hello, I have some terms in my index with specials characters. An example is "manchester-united". I want that a user can search for "manchester-united","manchester united" and "manchesterunited". What's the best way to fix this? i have used the patternReplaceFilter and some tokenizers but it coul

Updating opinion

2011-07-29 Thread roySolr
Hello, I want some opinions for the updating process of my application. Users can edit there own data. This data will be validated and must be updated every 24 hours. I want to do this at night(0:00). Now lets say 50.000 documents are edited. The delta import will take ~20 minutes. So the index

Re: - character in search query

2011-07-20 Thread roySolr
When i use the edismax handler the escaping works great(before i used the dismax handler).The debugQuery shows me this: +((DisjunctionMaxQuery((name:arsenal)~1.0) DisjunctionMaxQuery((name:london)~1.0))~2 The "\" is not in the parsedquery, so i get the results i wanted. I don't know why the disma

Re: - character in search query

2011-07-20 Thread roySolr
Here is my complete fieldtype: In the Field Analysis i see that the - is removed by the patternreplaceFilter. When i escaped the term($q = SolrUtils::escapeQueryChars($q);) i see in my debugQuery something like this(term = arsenal

Re: - character in search query

2011-07-19 Thread roySolr
Anybody? -- View this message in context: http://lucene.472066.n3.nabble.com/character-in-search-query-tp3168604p3182228.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: - character in search query

2011-07-14 Thread roySolr
Yes, i had some tokenizer like this: Now i removed the - from this tokenizer and the debugQuery looks like this: (name:arsenal | city:arsenal)~1.0 (name:\- | city:\-)~1.0 (name:london | city:london)~1.0 Still i get no results.. -- View this message in context: http://lucene.472066.n3.nabble

Re: - character in search query

2011-07-14 Thread roySolr
It looks like it's still not working. I send this to SOLR: q=arsenal \- london I get no results. When i look at the debugQuery i see this: (name: arsenal | city:arsenal)~1.0 (name: \ | city:\)~1.0 (name: london | city: london)~1.0 my requesthandler: dismax

Re: - character in search query

2011-07-14 Thread roySolr
thanks! I use the escape function of the solr pecl package to escape special characters http://docs.php.net/manual/kr/solrutils.escapequerychars.php -- View this message in context: http://lucene.472066.n3.nabble.com/character-in-search-query-tp3168604p3168638.html Sent from the Solr - User mai

- character in search query

2011-07-14 Thread roySolr
Hello, I have some problem with characters in the search term. I have some query's like this: Arsenal - london Ajax - amsterdam Arsenal - moskou Arsenal - China When i send arsenal - london to SOLR i get 2 results, China and moskou. I looked in the debugQuery and it looks like solr is searching

Re: How many fields can SOLR handle?

2011-07-08 Thread roySolr
Yes i use something like that. I make a db connection to get the facets for the chosen category. With this data i add facet.fields dynamically: example: foreach(results as result){ qStr = "facet.field=" . result; } I was searching for a solution that i don't need to get the facets from db. Now i

Re: Problem with spellchecking, dont want multiple request to SOLR

2011-07-07 Thread roySolr
What should the query look like?? I can't define 2 spellchecker in one query. I want something like this: Search: Soccerclub(what) Manchester(where) select/?q=socerclub macnchester&spellcheck=true&spellcheck.dictionary=spell_what&spellcheck.dictionary=spell_where&spell_what=socerclub&spell_where

Re: How many fields can SOLR handle?

2011-07-07 Thread roySolr
Hello Erik, I need the *_facets also for searching so stored must be true. "Then, and I used *_facet similar to you, kept a list of all *_facet actual field names and used those in all subsequent search requests. " Is this not bad for performance? I only need a few facets, not all.(only the face

Re: faceting on field with two values

2011-07-05 Thread roySolr
Are you using the DIH?? You can use the transformer to concat the two fields -- View this message in context: http://lucene.472066.n3.nabble.com/faceting-on-field-with-two-values-tp3139870p3139934.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How many fields can SOLR handle?

2011-07-05 Thread roySolr
Thanks Bill, That's exactly what i mean. But first i do a request to get the right facetFields from a category. So a user search for TV, i do request to a db to get tv_size and resolution. The next step is to add this to my query like this: facet.field=tv_size&facet.field=resolution. I thought ma

Re: How many fields can SOLR handle?

2011-07-05 Thread roySolr
Hi, I know i can add components to my requesthandler. In this situation facets are dependent of there category. So if a user choose for the category TV: Inch: 32 inch(5) 34 inch(3) 40 inch(1) Resolution: Full HD(5) HD ready(2) When a user search for category Computer: CPU: Intel(12) AMD(10) G

Re: How many fields can SOLR handle?

2011-07-04 Thread roySolr
Nobody? I'm still confused about this -- View this message in context: http://lucene.472066.n3.nabble.com/How-many-fields-can-SOLR-handle-tp3033910p3137301.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR and SQL functions

2011-07-01 Thread roySolr
I have found the problem. Some records has incorrect data. Thanks for your help so far!! -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-and-SQL-functions-tp3129175p3129409.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR and SQL functions

2011-07-01 Thread roySolr
Ok, i checked my error logs and find some problems. SET NAMES latin1 SET character_set_results = NULL SHOW VARIABLES SHOW COLLATION SET autocommit=1 SET sql_mode='STRICT_TRANS_TABLES' SET autocommit=0 select * from soccer where isSoccerClub(id,name) = 1; I see that the sql_mode is set to ST

SOLR and SQL functions

2011-07-01 Thread roySolr
Hello, I have made my own sql function(isSoccerClub). In my sql query browser this works fine. My query looks like: select * from soccer where isSoccerClub(id,name) = 1; Now i try to use this with the DIH. It looks like this: Now i get some error with the full-import: Indexing failed. Rolled

Re: Find results with or without whitespace

2011-06-28 Thread roySolr
I had the same problem: http://lucene.472066.n3.nabble.com/Results-with-and-without-whitespace-soccer-club-and-soccerclub-td2934742.html#a2964942 -- View this message in context: http://lucene.472066.n3.nabble.com/Find-results-with-or-without-whitespace-tp3117144p3117386.html Sent from the Sol

Re: Query may only contain [a-z][0-9]

2011-06-24 Thread roySolr
Yes i use the dismax handler, but i will fix this in my application layer. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Query-may-only-contain-a-z-0-9-tp3103553p3103945.html Sent from the Solr - User mailing list archive at Nabble.com.

Query may only contain [a-z][0-9]

2011-06-24 Thread roySolr
Hello, Is it possible to configure into SOLR that only numbers and letters are accepted([a-z][0-9])?? When a user gives a term like "+" or "-" i get some SOLR errors. How can i exclude this characters? -- View this message in context: http://lucene.472066.n3.nabble.com/Query-may-only-contai

Re: Complex situation

2011-06-23 Thread roySolr
Hello Lee, I thought maybe this is a solution: I can index every night the correct openinghours for next day. So tonight(00:01) i can index the openinghours for 2011-24-06. My query in my dih can looks like this: select *

Re: Complex situation

2011-06-23 Thread roySolr
Hello, I have change my db dates to the correct format like 2011-01-11T00:00:00Z. Now i have the following data: Manchester Store2011-01-01T00:00:00Z 2011-31-03T00:00:00Z 18:00 Manchester Store2011-01-04T00:00:00Z 2011-31-12T00:00:00Z 20:00

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-06-21 Thread roySolr
Are you working on some changes to support earlier versions of PHP? -- View this message in context: http://lucene.472066.n3.nabble.com/ANNOUNCEMENT-PHP-Solr-Extension-1-0-1-Stable-Has-Been-Released-tp3024040p3090702.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Complex situation

2011-06-21 Thread roySolr
Yes, current year. I understand that something like dd-mm-yy isn't possible. I will fix this in my db, Thanks for your help! -- View this message in context: http://lucene.472066.n3.nabble.com/Complex-situation-tp3071936p3090247.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Complex situation

2011-06-21 Thread roySolr
Thanks it works!! I want to change the format of the NOW in SOLR. Is it possible? Now date format looks like this: -MM-dd T HH:mm:sss Z In my db the format is dd-MM. How can i fix the NOW so i can do something like * TO NOW(dd-mm)?? -- View this message in context: http://lucene.472066.n3.

Re: Complex situation

2011-06-20 Thread roySolr
with this facet.query=startdate:[* TO NOW] AND enddate:[NOW TO *] i will get all the results?? Now i get the startdate and enddate from my db with the DIH. My schema.xml looks like this: When i use the facet.query i only get a count with companies. What i want is a count for openinghours.

Re: Complex situation

2011-06-20 Thread roySolr
Hi, I want all the results, not only the results for current season. Let say i search for "supermarket", i get results 1, 2 and 3 in my response(previous post) Then i want on the left part some facets with openinghours. Let's say it is today 02/08/2011. Then my facets looks like this: 18:00(2) 20

Complex situation

2011-06-16 Thread roySolr
Hello, First i will try to explain the situation: I have some companies with openinghours. Some companies has multiple seasons with different openinghours. I wil show some example data : Companyid Startdate(d-m) Enddate(d-m) Openinghours_end 101-01

SnowballPorterFilterFactory and apostrophes

2011-06-15 Thread roySolr
Hello, I use the snowballPorterFilter(dutch) to stem the words in my index. Like this: restaurants => restaurant restauranten => restaurant apples => apple Now i see on my solr analytics page that this happens with mcdonald's: mcdonald's => mcdonald' I don't want stemming for apostrophes. Is

Re: WordDelimiter and stemEnglishPossessive doesn't work

2011-06-14 Thread roySolr
THANK YOU!! I thought i only could use one character for the pattern.. Now i use a regular expression:) I don't need the wordDelimiter anymore. It's split on # and whitespace dataset: mcdonald's#burgerking#Free record shop#h&m mcdonald's burgerking free record shop h&m This is exactly how we

Re: WordDelimiter and stemEnglishPossessive doesn't work

2011-06-14 Thread roySolr
Ok, with catenatewords the index term will be mcdonalds. But that's not what i want. I only use the wordDelimiter to split on whitespace. I have already used the PatternTokenizerFactory so i can't use the whitespacetokenizer. I want my index looks like this: dataset: mcdonald's#burgerking#Free r

Re: Query on Synonyms feature in Solr

2011-06-14 Thread roySolr
Maybe you can try to escape the synonyms so it's no tokized by whitespace.. Private\ schools,NGO\ Schools,Unaided\ schools -- View this message in context: http://lucene.472066.n3.nabble.com/Query-on-Synonyms-feature-in-Solr-tp3058197p3062392.html Sent from the Solr - User mailing list archive

WordDelimiter and stemEnglishPossessive doesn't work

2011-06-10 Thread roySolr
Hello, I have some problem with the wordDelimiter. My data looks like this: mcdonald's#burgerking#Free record shop#h&m I want to tokenize this on #. After that it has to split on whitespace. I use the wordDelimiter for that(can't use 2 tokenizers) Now this works but there is one problem, it rem

Re: Solr monitoring: Newrelic

2011-06-09 Thread roySolr
Yes, that's the problem. There is no jetty folder. I have try the example/lib directory, it's not working. There is no jetty war file, only jetty-***.jar files Same error, could not locate a jetty instance. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-monitoring-Newr

Re: Solr monitoring: Newrelic

2011-06-09 Thread roySolr
I use Jetty, it's standard in the solr package. Where can i find the "jetty" folder? then i can start this command: java -jar newrelic.jar install -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-monitoring-Newrelic-tp3042889p3042981.html Sent from the Solr - User mail

Solr monitoring: Newrelic

2011-06-09 Thread roySolr
Hello, I found this tool to monitor solr querys, cache etc. http://newrelic.com/ http://newrelic.com/ I have some problems with the installation of it. I get the following errors: Could not locate a Tomcat, Jetty or JBoss instance in /var/www/sites/royr Try re-running the install command from

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-06-07 Thread roySolr
Hello, I have some problems with the installation of the new PECL package solr-1.0.1. I run this command: pecl uninstall solr-beta ( to uninstall old version, 0.9.11) pecl install solr The installing is running but then it gives the following error message: /tmp/tmpKUExET/solr-1.0.1/solr_funct

How many fields can SOLR handle?

2011-06-07 Thread roySolr
Hello, I have a SOLR implementation with 1m products. Every products has some information, lets say a television has some information about pixels and inches, a computer has information about harddisk, cpu, gpu. When a user search for computer i want to show the correct facets. An example: User s

RE: Spellcheck: Two dictionaries

2011-05-27 Thread roySolr
That uber dictionary is not what i want. I get also suggestions form the where in the what. An example: what where chelseaLondon Soccerclub Bondon London When i type "soccerclub london" i want the suggestion from the wha

Re: Problem with spellchecking, dont want multiple request to SOLR

2011-05-27 Thread roySolr
mm ok. I configure 2 spellcheckers: spell_what spell_what true spellchecker_what spell_where spell_where true spellchecker_where H

Problem with spellchecking, dont want multiple request to SOLR

2011-05-26 Thread roySolr
Hello, First i will explain my situation. I have a 2 fields on my website: What and Where. When a user search i want spellcheck on both fields. Now i have 2 dictionaries, one for what and one for where. I want to search with one request and spellcheck both fields. Is it possible and how? -- View

Re: Spellcheck: Two dictionaries

2011-05-26 Thread roySolr
?? -- View this message in context: http://lucene.472066.n3.nabble.com/Spellcheck-Two-dictionaries-tp2931458p2987915.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Results with and without whitspace(soccer club and soccerclub)

2011-05-24 Thread roySolr
Ok, I will do it with synonyms. What does the list look like? soccerclub,soccer club The index looks like this: Manchester united soccerclub Chelsea soccer club I want them both in my results if i search for "soccer club" or "soccerclub". How can i configure this in schema.xml? -- View this

Dynamic facet field

2011-05-24 Thread roySolr
Hello, I have some problem with dynamic facets. I have a database with 1mil. products and have indexed this with DIH. Now i have facets that are connected to one category of products. Example: Category Facet Television type(hd,plasma), Inches(38,42), Color(black,g

  1   2   >