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

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

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.

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

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

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

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");

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

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

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

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

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

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:

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

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.

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Split token

2011-04-15 Thread roySolr
Hello, I want to split my string when it contains "(". Example: spurs (London) Internationale (milan) to spurs (london) Internationale (milan) What tokenizer can i use to fix this problem? -- View this message in context: http://lucene.472066.n3.nabble.com/Split-token-tp2810772p2810772.html

PECL SOLR PHP extension, JSON output

2011-04-21 Thread roySolr
Hello, I use the PECL php extension for SOLR. I want my output in JSON. This is not working: $query->set('wt', 'json'); How do i solve this problem? -- View this message in context: http://lucene.472066.n3.nabble.com/PECL-SOLR-PHP-extension-JSON-output-tp2846092p2846092.html Sent from the S

Re: PECL SOLR PHP extension, JSON output

2011-04-21 Thread roySolr
I have tried that but it seems like JSON is not supported Parameters responseWriter One of the following : - xml - phpnative -- View this message in context: http://lucene.472066.n3.nabble.com/PECL-SOLR-PHP-extension-JSON-output-tp2846092p2846728.html Sent from the Solr - Use

WhitespaceTokenizer and scoring(field length)

2011-04-26 Thread roySolr
Hello, I have a problem with the whitespaceTokenizer and scoring. An example: id Titel 1 Manchester united 2 Manchester With the whitespaceTokenizer "Manchester united" will be splitted to "Manchester" and "united". When i search for

Re: WhitespaceTokenizer and scoring(field length)

2011-04-27 Thread roySolr
I thought it was something simple. Here is my configuration: 357 LIDL Headoffice Supermarkt LIDL LIDL LIDL Headoffice

Re: WhitespaceTokenizer and scoring(field length)

2011-04-27 Thread roySolr
I thought it was something simple. Here is my configuration: 357 LIDL Headoffice Supermarkt LIDL LIDL LIDL Headoffice

Re: WhitespaceTokenizer and scoring(field length)

2011-04-27 Thread roySolr
I thought it was something simple. Here is my configuration: I search for "supermarket": 357 LIDL Headoffice Supermarkt LIDL LIDL LIDL

Re: WhitespaceTokenizer and scoring(field length)

2011-04-27 Thread roySolr
Thanks!! It's clear now, sometimes the lengthNorm is the same. See the table below: # of termslengthNorm 1 1.0 2 .625 3 .5 4 .5 5 .4375 6 .375 7 .375 8 .3125 9 .3125 10.3125 Is it pos

Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
Hello, I use the termsComponent to fix some autocomplete on my website. I use the prefix and get the following results: searching for manch: manchester city(10) manchester united(2) When a user search for ches i want the following results: chesterfield united(13) manchester united(2) I want t

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
Ok, i try NGrams. My configuration looks like this: i try to run the query: http:/

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
The words are now splitted in the index(nGram). It looks like this: m ma man manc manch manche manches manchest mancheste manchester The termsComponent does not see it as one word(manchester). It gives me the results back in NGrams(m,ma,man etc)-- View this message in context: http://lucene.

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
terms.regex doesn´t work for me. Prefix works fine. I use SOLR 1.4.. Is it compatible?-- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-middle-of-words-tp2878694p2878948.html Sent from the Solr - User mailing list archive at Nabble.com.

Dismax scoring multiple fields TIE

2011-05-03 Thread roySolr
Hello, I have a question about scoring when i use the dismax handler. I will give some examples: name category related category 1. Chelsea best club everChelseaSport 2. Chelsea

Re: Dismax scoring multiple fields TIE

2011-05-03 Thread roySolr
No, but i think the difference between fieldlength is large and the score is still the same. Same score for this results(q=chelsea): 1. Chelsea is a very very big club in london, england Chelsea Sport 2. Chelsea Ch

Patch problems solr 1.4 - solr-2010

2011-05-04 Thread roySolr
Hello, I want to patch my solr installation(1.4.1) with solr-2010.(https://issues.apache.org/jira/browse/SOLR-2010) I need this feature: Only return collations that are guaranteed to result in hits if re-queried Now i try the following code: wget https://issues.apache.org/jira/secure/attachmen

Re: Patch problems solr 1.4 - solr-2010

2011-05-05 Thread roySolr
Hello, thanks for the answers, i use branch 1.4 and i have succesfully patch solr-2010. Now i want to use the collate spellchecking. How does my url look like. I tried this but it's not working(It's the same as solr without solr-2010). http://localhost:8983/solr/select?q=man unitet&spellcheck.q=

Spatial search - SOLR 3.1

2011-05-11 Thread roySolr
Hello, I'm using the spatial solr plugin from jteam for SOLR 1.4. Now i want to use SOLR 3.1 because it contains a lot of bugfixes:) Now i want to get a distance field back in my results. How can i do it? My url looks like: q=testquery&fq={!geofilt pt=52.78556,3.4546 sfield=latlon d=50} I get

Re: Spatial search - SOLR 3.1

2011-05-12 Thread roySolr
Hello David, It's easy to calculate it by myself but it was nice if SOLR returns distance in the response. I can sort on distance and calculate the distance with PHP to show it to the users. -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-search-SOLR-3-1-tp2927579p293

Spellcheck: Two dictionaries

2011-05-12 Thread roySolr
Hello, I have 2 fields: what and where. For both of the field i want some spellchecking. I have 2 dictionary's in my config: ws what what spellchecker_what where wh

Results with and without whitspace(soccer club and soccerclub)

2011-05-13 Thread roySolr
Hello, My index looks like this: Soccer club Football club etc. Now i want that a user can search for "soccer club" and "soccerclub". "Soccer club" works but without the whitespace it's not a match. How can i fix this? How does my configuration looks like? Is there a filter or something? --

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

2011-05-13 Thread roySolr
mm,, it's about 10.000 terms. It's possible but not the best solution i think. -- View this message in context: http://lucene.472066.n3.nabble.com/Results-with-and-without-whitespace-soccer-club-and-soccerclub-tp2934742p2934888.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Exact match

2011-05-17 Thread roySolr
Try this: "search term" -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-match-tp2952591p2952699.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-19 Thread roySolr
Try this in your query: TIME_FORMAT(timeDb, '%H:%i') as timefield http://www.java2s.com/Tutorial/MySQL/0280__Date-Time-Functions/TIMEFORMATtimeformat.htm -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-convert--MM-DD-to-YYY-MM-DD-hh-mm-ss-DIH-tp2961481p2961591.ht

Re: Faceting on distance in Solr: how do you generate links that search withing a given range of distance?

2011-05-20 Thread roySolr
He I had the same problem. It's fix now. But it comes with a new issue: I get results for all company's in London. Now i want the following facets: 10km(20) 20km(34) 40km(55) 40km can be outside of London. There are only company's in london in my results. The company's outside of London are not

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

2011-05-20 Thread roySolr
Hello, Thanks, i think both are good options. I prefer the option with the filter. What does a charfilter look like? -- View this message in context: http://lucene.472066.n3.nabble.com/Results-with-and-without-whitespace-soccer-club-and-soccerclub-tp2934742p2964950.html Sent from the Solr - User

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

2011-05-20 Thread roySolr
Thanks for the help so far, I don't think this solves the problem. What if my data look like this: soccer club Manchester united if i search for "soccerclub manchester" and for "soccer club manchester" i want this result back. A copyfield that removes whitespaces is not an option. With the cha

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

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

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.

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

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

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: [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

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

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

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

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

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

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

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

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-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-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: [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-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: 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 *

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

  1   2   >