Query question

2013-02-14 Thread dm_tim
Howdy, I have a straight-forward index that contains a "name" field. I am currently taking a string of text, tokenizing it into individual strings and making a query out of them all against the "name" field. Note that the name field is split up by a whitespace tokenizer and a lower case filter du

Solrj how to use TrieDoubleField

2013-02-07 Thread dm_tim
Howdy, I have a Solr implementation that allows me to do a geospatial search and I'm trying to replicate it using the solrj libs. The schema.xml that I'm using looks like this:

Re: Solr 4.1.0 index leaving write.lock file

2013-02-01 Thread dm_tim
Cool. I can use that setting while testing then set it back when I'm just running Lucene. Many thanks folks! Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-1-0-index-leaving-write-lock-file-tp4038046p4038060.html Sent from the Solr - User mailing list

Re: Solr 4.1.0 index leaving write.lock file

2013-02-01 Thread dm_tim
Well that makes sense. The problem is that I am working in both Solr and Lucene directly. I have some indexes that work great in Solr and now I want to do the same thing in Java using the Lucene libs. So I'm writing to the same index dir. I do testing by creating an index in Solr, look at it, and t

Solr 4.1.0 index leaving write.lock file

2013-02-01 Thread dm_tim
Howdy, I've been using Solr 4.1.0 for a little while now and I just noticed that when I index any core I have the write.lock file doesn't go away until I stop the server where solr is running. The data I'm indexing is fairly small (16k rows in a db) so it shouldn't take much time at all though I ha

Problem installing Solr-4.0 in Linux

2012-11-29 Thread dm_tim
Howdy, I'm having rather a lot of difficulty getting Solr 4.0 running under Linux (I got it up-and-running under Windows very quickly). My web server is Glassfish 3.1.1. Additonally, my solr/home dir is /opt/solr/solr-4.0 and my data dir is /opt/solr/data . When I deploy the solr war file or rest

Solr 4.0 Spatial Search schema.xml and data-config.xml

2012-11-14 Thread dm_tim
Howdy, I now want to try my hand a spatial search. It looks fairly easy but I'm a bit puzzled about how to set up my schema.xml file. I know that my field must use the LatLon type but the columns of the database where I'll be pulling my data for indexing have separate lat and lon columns (both dou

Re: Solr v4: Synonyms... better at index time or query time?

2012-11-13 Thread dm_tim
Good to know. Thanks. T -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-v4-Synonyms-better-at-index-time-or-query-time-tp4020179p4020198.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr 4.0 Dismax woes (2 specifically)

2012-11-13 Thread dm_tim
Heck, I originally started using the default query parser but gave up on it because all of my search results are equally important and idf was messing up my results pretty badly. So I discovered the DisMax query parser which doesn't use idf. I was elated until I started testing. My initial results

4.0 query question

2012-11-12 Thread dm_tim
I just discovered the idf scoring component and it's biting me on the butt. In the particular case I have all terms are equally relevant. Is there any way to turn off idf scoring? Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019898.htm

Re: 4.0 query question

2012-11-12 Thread dm_tim
That is terrific. Thanks. Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019397p4019890.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: 4.0 query question

2012-11-09 Thread dm_tim
I think I may have found my answer buy I'd like additional validation: I believe that I can add a function to my query to get only the highest values of 'file_version' like this - _val_:"max(file_version, 1)" I seem to be getting the results I want. Does this look correct? Regards, Tim -- Vie

4.0 query question

2012-11-09 Thread dm_tim
Howdy, I have a Solr query that is almost perfect: http://localhost:8080/apache-solr-4.0.0/v3_tag_core/select?q=tag%3A%22coat%22%5E4+%22coat%22+cid%3A136+&sort=score+desc&rows=10&fl=id+tag+cid+file_version+lang+score&wt=json&indent=true&debugQuery=true It's grabbing data that includes the fields:

Puzzled by search score

2012-11-02 Thread dm_tim
Howdy, I'm reading a table in a db using the following schema: id tag So make the following query http://localhost:8080/apache-solr-4.0.0/core0/select?q=tag%3Aclothes~%2Bcid%3A14&sort=score+de

Re: Where can I find an example of a 4.0 contraction file?

2012-11-01 Thread dm_tim
Apparently there is some problem in some of my other configuration files that was tripping me up. When I copy all of the configuration files from the 4.0 source I can start up. Now I'll start messing with the files one at a time and see what happens Regards, Tim -- View this message in con

Re: Where can I find an example of a 4.0 contraction file?

2012-11-01 Thread dm_tim
I should have mentioned I tried that. I get the following exception: SEVERE: Unable to create core: core0 java.lang.RuntimeException: java.nio.charset.MalformedInputException: Input length = 1 Any other suggestions? Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble

Where can I find an example of a 4.0 contraction file?

2012-11-01 Thread dm_tim
I'm attempting to get a working example of v4 running and I apparently need a contractions_ca.txt file. I have been unsuccessful locating an example of this file. Could someone please point me to one? Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/Where-can-I

Re: Solr 3.6.0 problem with multi-core and json

2012-05-18 Thread dm_tim
I should clarify the error a bit. When I make a select request on my first core (called core0) using the wt=json parameter I get a 400 response with the explanation "undefined field: gid". The field gid is not defined in the schema.xml file of my first core. But, it is defined in the schema.xml fil

Solr 3.6.0 problem with multi-core and json

2012-05-18 Thread dm_tim
Howdy, I have a multi-core set up in Solr 3.6.0 which works fine. That is until I request the response in json with the "wt=json" parameter. When I do that it looks like its using the schema.xml file of one of my other cores because it complains that it can not get a required field that exists in