Autocomplete

2011-09-01 Thread Brian Lamb
quot;Doberman Pincher" but not "Pincher, Doberman". Here is how my schema is configured: How can I update my autocomplete so that it will match the middle of a word as well as the beginning of the word? Thanks, Brian Lamb

Re: Autocomplete

2011-09-01 Thread Brian Lamb
I found that if I change to I can do autocomplete in the middle of a term. Thanks! Brian Lamb On Thu, Sep 1, 2011 at 11:27 AM, Brian Lamb wrote: > Hi all, > > I've read numerous guides on how to set up autocomplete on solr and it > works great the way I have it now.

Boosting is slow

2011-11-17 Thread Brian Lamb
be taking? Thanks, Brian Lamb

Re: Boosting is slow

2011-11-17 Thread Brian Lamb
Sorry, the query is actually: http://localhost:8983/solr/mycore/search/?q=test{!boost b=product(sum(log(sum(myfield,1)),1),recip(ms(NOW,mydate_field),3.16e-11,1,8))}&start=&sort=score+desc,mydate_field+desc&wt=xslt&tr=mysite.xsl On Thu, Nov 17, 2011 at 2:59 PM, Brian Lamb wrote:

Re: Boosting is slow

2011-11-18 Thread Brian Lamb
Any ideas on this one? On Thu, Nov 17, 2011 at 3:53 PM, Brian Lamb wrote: > Sorry, the query is actually: > > http://localhost:8983/solr/mycore/search/?q=test{!boost > b=product(sum(log(sum(myfield,1)),1),recip(ms(NOW,mydate_field),3.16e-11,1,8))}&start=&sort=score+desc,mydat

MySQL data import

2011-12-11 Thread Brian Lamb
? Lastly, is it possible to use copyField to copy three regular fields into one multiValued field and have all the data show up? Thanks, Brian Lamb

Re: MySQL data import

2011-12-12 Thread Brian Lamb
Hi all, Any tips on this one? Thanks, Brian Lamb On Sun, Dec 11, 2011 at 3:54 PM, Brian Lamb wrote: > Hi all, > > I have a few questions about how the MySQL data import works. It seems it > creates a separate connection for each entity I create. Is there any way to > avoid this

URLDataSource delta import

2011-12-12 Thread Brian Lamb
ed to see if this feature had been added yet or if there were plans to do so. Thanks, Brian Lamb

Re: MySQL data import

2011-12-12 Thread Brian Lamb
sometimes more straightforward. > > Best > Erick... > > P.S. Yes, it's pretty standard to have a single > field be the destination for several copyField > directives. > > On Mon, Dec 12, 2011 at 12:48 PM, Gora Mohanty wrote: > > On Mon, Dec 12, 2011 at 2:24 AM, Brian

PHP/Solr library

2012-01-04 Thread Brian Lamb
) and thus it is timing out or something like that but I cannot confirm that that is the case nor do I know how to fix it even if it were. Any help here would be greatly appreciated. Thanks, Brian Lamb

Re: PHP/Solr library

2012-01-04 Thread Brian Lamb
ion first. But thanks for the suggestion! Brian Lamb On Wed, Jan 4, 2012 at 2:58 PM, Sethi, Parampreet < parampreet.se...@teamaol.com> wrote: > Hi Brian, > > Not exactly solution to your problem. But it may help, you can run Solr > directly on top of your database, if your schem

dataimport

2011-02-24 Thread Brian Lamb
Hi all, First of all, I'm quite new to solr. I have the server set up and everything appears to work. I set it up so that the indexed data comes through a mysql connection: db-data-config.xml And here is the contents of db-data-config.xml: When I point

Indexed, but cannot search

2011-02-28 Thread Brian Lamb
Hi all, I was able to get my installation of Solr indexed using dataimport. However, I cannot seem to get search working. I can verify that the data is there by going to: http://localhost:8983/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on This gives me the response: But when I go

Sub entities

2011-02-28 Thread Brian Lamb
Hi all, I was able to get my dataimport to work correctly but I'm a little unclear as to how the entity within an entity works in regards to search results. When I do a search for all results, it seems only the outermost responses are returned. For example, I have the following in my db config fil

Re: Sub entities

2011-03-01 Thread Brian Lamb
our mysql-query log? to see which queries were > executed and what their result is? > > And, just as quick notice .. there is no need to use column="foo" name="foo"> (while both attribute have the same value). > > Regards > Stefan > > On Mon, Feb 28, 2011

Re: Indexed, but cannot search

2011-03-01 Thread Brian Lamb
rent field, well, you need to tell it :-) > > Is that it? > > Upayavira > > On Mon, 28 Feb 2011 15:38 -0500, "Brian Lamb" > wrote: > > Hi all, > > > > I was able to get my installation of Solr indexed using dataimport. > > However, > > I cannot seem

Re: Sub entities

2011-03-01 Thread Brian Lamb
Thanks for the help Stefan. It seems removing column="specie" fixed it. On Tue, Mar 1, 2011 at 11:18 AM, Stefan Matheis < matheis.ste...@googlemail.com> wrote: > Brian, > > On Tue, Mar 1, 2011 at 4:52 PM, Brian Lamb > wrote: > > > indexed="true"

Re: Indexed, but cannot search

2011-03-01 Thread Brian Lamb
for your help so far. I think this is the last hurdle I have to jump over. On Tue, Mar 1, 2011 at 12:34 PM, Upayavira wrote: > Next question, do you have your "type" field set to index="true" in your > schema? > > Upayavira > > On Tue, 01 Mar 2011 11:06 -050

Re: Indexed, but cannot search

2011-03-01 Thread Brian Lamb
think this is the last hurdle > I > > have to jump over. > > > > On Tue, Mar 1, 2011 at 12:34 PM, Upayavira wrote: > > > Next question, do you have your "type" field set to index="true" in > your > > > schema? > > > > &g

Re: Indexed, but cannot search

2011-03-02 Thread Brian Lamb
gt; Thanks to everyone for your help so far. I think this is the last > > > > hurdle > > > > > > I > > > > > > > have to jump over. > > > > > > > > On Tue, Mar 1, 2011 at 12:34 PM, Upayavira wrote: > > > > >

Re: Indexed, but cannot search

2011-03-02 Thread Brian Lamb
r. On Wed, Mar 2, 2011 at 10:31 AM, Markus Jelsma wrote: > Please also provide analysis part of fieldType text. You can also use Luke > to > inspect the index. > > http://localhost:8983/solr/admin/luke?fl=globalField&numTerms=100 > > On Wednesday 02 March 2011 16:09:33

Formatting the XML returned

2011-03-02 Thread Brian Lamb
thing like: Val Val Is this possible? If so, how? Thanks, Brian Lamb

docBoost

2011-03-08 Thread Brian Lamb
Hi all, I am using dataimport to create my index and I want to use docBoost to assign some higher weights to certain docs. I understand the concept behind docBoost but I haven't been able to find an example anywhere that shows how to implement it. Assuming the following config file:

Re: dataimport

2011-03-09 Thread Brian Lamb
This has since been fixed. The problem was that there was not enough memory on the machine. It works just fine now. On Tue, Mar 8, 2011 at 6:22 PM, Chris Hostetter wrote: > > : INFO: Creating a connection for entity id with URL: > : > jdbc:mysql://localhost/researchsquare_beta_library?characterEn

Sorting

2011-03-09 Thread Brian Lamb
Hi all, I know that I can add &sort=score desc to the url to sort in descending order. However, I would like to sort a MoreLikeThis response which returns records like this: I don't want them grouped by result; I would just like have them all thrown together and then sorted according to

Re: docBoost

2011-03-09 Thread Brian Lamb
Anyone have any clue on this on? On Tue, Mar 8, 2011 at 2:11 PM, Brian Lamb wrote: > Hi all, > > I am using dataimport to create my index and I want to use docBoost to > assign some higher weights to certain docs. I understand the concept behind > docBoost but I haven't

Re: docBoost

2011-03-09 Thread Brian Lamb
7;,1.5); >return row; >} >]]> > > query="select * from X"> > > > > > > Regards, > Jayendra > > > On Wed, Mar 9, 2011 at 2:01 PM, Br

Excluding results from more like this

2011-03-09 Thread Brian Lamb
Hi all, I'm using MoreLikeThis to find similar results but I'd like to exclude records by the id number. For example, I use the following URL: http://localhost:8983/solr/search/?q=id:(2 3 5)&mlt=true&mlt.fl=description,id&fl=*,score How would I exclude record 4 form the MoreLikeThis results? I

Re: Excluding results from more like this

2011-03-09 Thread Brian Lamb
cosystem search :: http://search-lucene.com/ > > > > - Original Message > > From: Brian Lamb > > To: solr-user@lucene.apache.org > > Sent: Wed, March 9, 2011 4:05:10 PM > > Subject: Excluding results from more like this > > > > Hi all,

Re: docBoost

2011-03-10 Thread Brian Lamb
d to put in for some_condition? Thanks for all the help so far. I truly do appreciate it. Thanks, Brian Lamb On Wed, Mar 9, 2011 at 11:50 PM, Bill Bell wrote: > Yes just add if statement based on a field type and do a row.put() only if > that other value is a certain value. > >

Re: Sorting

2011-03-10 Thread Brian Lamb
Any ideas on this one? On Wed, Mar 9, 2011 at 2:00 PM, Brian Lamb wrote: > Hi all, > > I know that I can add &sort=score desc to the url to sort in descending > order. However, I would like to sort a MoreLikeThis response which returns > records like this: > > > &

Re: Sorting

2011-03-14 Thread Brian Lamb
HP to simulate that but it seems horribly inefficient so I'd like to do it within Solr if at all possible. On Thu, Mar 10, 2011 at 4:02 PM, Brian Lamb wrote: > Any ideas on this one? > > > On Wed, Mar 9, 2011 at 2:00 PM, Brian Lamb > wrote: > >> Hi all, >> >

Dynamically boost search scores

2011-03-14 Thread Brian Lamb
: http://localhost/solr/search?q=dog&boost=true The score of each document would be boosted by the number in the field boost_score. Unfortunately, I have no idea how to implement this actually but I'm hoping that's where you all can come in. Thanks, Brian Lamb

Re: Dynamically boost search scores

2011-03-15 Thread Brian Lamb
were when I left off the bf parameter. So what am I doing incorrectly? Thanks, Brian Lamb On Mon, Mar 14, 2011 at 11:45 AM, Markus Jelsma wrote: > See boosting documents by function query. This way you can use document's > boost_score field to affect the final score. > >

Multicore

2011-03-16 Thread Brian Lamb
so what am I doing incorrectly? Thanks, Brian Lamb

Adding the suggest component

2011-03-17 Thread Brian Lamb
ving this error. Did I not put the files in the right place? What am I doing incorrectly? Thanks, Brian Lamb

Re: Adding the suggest component

2011-03-18 Thread Brian Lamb
oaded. Additionally, when I go to http://localhost/solr/admin/, I get the following message: HTTP ERROR: 404 Problem accessing /solr/admin. Reason: NOT_FOUND What did I do incorrectly? Thanks, Brian Lamb On Fri, Mar 18, 2011 at 9:04 AM, Erick Erickson wrote: > What do you mean "y

Re: Adding the suggest component

2011-03-18 Thread Brian Lamb
instead of this: > > http://localhost/solr/admin/ > > try this instead: > http://localhost:8983/solr/admin/ <http://localhost/solr/admin/> > > Cheers, > Geert-Jan > > > > 2011/3/18 Brian Lamb > > > That does seem like a better solution. I download

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
'org.apache.solr.handler.dataimport.DataImportHandler' It looks like those files are there: contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/ But for some reason, they aren't able to be found. Where would I update this setting and what would I update it to? Thanks, Brian Lamb On Mon, Mar

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
I'm still getting the same error. Thanks, Brian Lamb On Tue, Mar 22, 2011 at 11:28 AM, Brian Lamb wrote: > Thanks everyone for the advice. I checked out a recent version from SVN and > ran: > > ant clean example > > This worked just fine. However when I went to start the solr s

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
Awesome! That fixed that problem. I'm getting another class not found error but I'll see if I can fix it on my own first. On Tue, Mar 22, 2011 at 11:56 AM, Ahmet Arslan wrote: > > --- On Tue, 3/22/11, Brian Lamb wrote: > > > From: Brian Lamb > > Subject: R

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
reason why this happens and how to fix it. Thanks, Brian Lamb On Tue, Mar 22, 2011 at 12:54 PM, Brian Lamb wrote: > Awesome! That fixed that problem. I'm getting another class not found error > but I'll see if I can fix it on my own first. > > > On Tue, Mar 2

Re: Adding the suggest component

2011-03-22 Thread Brian Lamb
g.xml file: db-data-config.xml Thanks for all the help so far. You all have been great. Brian Lamb On Tue, Mar 22, 2011 at 3:17 PM, Ahmet Arslan wrote: > > java.lang.NoClassDefFoundError: Could not initialize class > > org.apache.solr.handler.dataimport.DataImportHa

Re: Adding the suggest component

2011-03-23 Thread Brian Lamb
I'm still confused as to why I'm getting this error. To me it reads that the .java file was declared incorrectly but I shouldn't need to change those files so where am I doing something incorrectly? On Tue, Mar 22, 2011 at 3:40 PM, Brian Lamb wrote: > That fixed that error as

Re: Adding the suggest component

2011-03-23 Thread Brian Lamb
Thank you for the suggestion. I followed your advice and was able to get a version up and running. Thanks again for all the help! On Wed, Mar 23, 2011 at 1:55 PM, Ahmet Arslan wrote: > > I'm still confused as to why I'm > > getting this error. To me it reads that the > > .java file was declared

Default operator

2011-03-25 Thread Brian Lamb
t:8983/solr/search/?q=animal:german shepherd&type:dog canine I would want it to effectively be: http://localhost:8983/solr/search/?q=animal:german AND shepherd&type:dog OR canine Other than parsing the URL before I send it out, is there a way to do this? Thanks, Brian Lamb

Re: Default operator

2011-03-28 Thread Brian Lamb
Thank you both for your input. I ended up using Ahmet's way because it seems to fit better with the rest of the application. On Sat, Mar 26, 2011 at 6:02 AM, lboutros wrote: > The other way could be to extend the SolrQueryParser to read a per field > default operator in the solr config file. The

String field

2011-03-29 Thread Brian Lamb
only difference is that id is my primary key field so that could be why it is showing up but why aren't the others showing up? Thanks, Brian Lamb

Re: String field

2011-03-29 Thread Brian Lamb
The full import wasn't spitting out any errors on the web page but in looking at the logs, there were errors. Correcting those errors solved that issue. Thanks, Brian Lamb On Tue, Mar 29, 2011 at 2:44 PM, Erick Erickson wrote: > try the schema browser from the admin page to be sure th

Matching on a multi valued field

2011-03-29 Thread Brian Lamb
d Both records are returned. However, I only want RECORD1 returned. I understand why RECORD2 is returned but how can I structure my query so that only RECORD1 is returned? Thanks, Brian Lamb

Re: Matching on a multi valued field

2011-03-30 Thread Brian Lamb
t; > >>> > >>> And I have some records: > >>> > >>> RECORD1 > >>> > >>> > >>> man's best friend > >>> pooch > >>> > >>> > >>> > >>> RECORD2 > >>> > >>> > >>> man's worst enemy > >>> friend to no one > >>> > >>> > >>> > >>> Now if I do a search such as: > >>> http://localhost:8983/solr/search/?q=*:*&fq={!q.op=AND > >>> df=common_names}man's friend > >>> > >>> Both records are returned. However, I only want RECORD1 returned. I > >>> understand why RECORD2 is returned but how can I structure my query so > >>> that only RECORD1 is returned? > >>> > >>> Thanks, > >>> > >>> Brian Lamb > >

Matching the beginning of a word within a term

2011-03-30 Thread Brian Lamb
d man to mankind in the query, RECORD1 will be returned. Even though the phrases companion and man exist in the same term in RECORD2, I do not want RECORD2 to be returned because 'man' is not at the beginning of the word. How can I achieve this? Thanks, Brian Lamb

Re: Matching the beginning of a word within a term

2011-03-31 Thread Brian Lamb
> > Ludovic > > > http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilter.html > > 2011/3/30 Brian Lamb [via Lucene] < > ml-node+2754668-300063934-383...@n3.nabble.com> > > > Hi all, > > > > I

Re: Matching the beginning of a word within a term

2011-04-04 Thread Brian Lamb
it works with phrases though > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > On 31. mars 2011, at 16.49, Brian Lamb wrote: > > > No, I don't really want to break down the words into subwords. In the > > example I prov

Re: Matching on a multi valued field

2011-04-04 Thread Brian Lamb
I just noticed Juan's response and I find that I am encountering that very issue in a few cases. Boosting is a good way to put the more relevant results to the top but it is possible to only have the correct results returned? On Wed, Mar 30, 2011 at 11:51 AM, Brian Lamb wrote: > Thank

MoreLikeThis match

2011-04-07 Thread Brian Lamb
earch based on more like this. Thanks, Brian Lamb

Re: MoreLikeThis match

2011-04-07 Thread Brian Lamb
arfs the highest response score. On Thu, Apr 7, 2011 at 1:30 PM, Brian Lamb wrote: > Hi all, > > I've been using MoreLikeThis for a while through select: > > http://localhost:8983/solr/select/?q=field:more like > this&mlt=true&mlt.fl=field&rows=100&fl=*,score

Re: MoreLikeThis match

2011-04-08 Thread Brian Lamb
I've looked at both wiki pages and none really clarify the difference between these two. If I copy and paste an existing index value for field and do an mlt search, it shows up under match but not results. What is the difference between these two? On Thu, Apr 7, 2011 at 2:24 PM, Brian Lamb

Re: MoreLikeThis match

2011-04-11 Thread Brian Lamb
Does anyone have any thoughts on this one? On Fri, Apr 8, 2011 at 9:26 AM, Brian Lamb wrote: > I've looked at both wiki pages and none really clarify the difference > between these two. If I copy and paste an existing index value for field and > do an mlt search, it shows up under

MoreLikeThis

2011-04-21 Thread Brian Lamb
lp on this matter would be greatly appreciated. Thanks! Brian Lamb

Re: MoreLikeThis

2011-04-25 Thread Brian Lamb
24, 2011 at 2:37 AM, Grant Ingersoll wrote: > > On Apr 21, 2011, at 8:46 PM, Brian Lamb wrote: > > > Hi all, > > > > I have an mlt search set up on my site with over 2 million records in the > > index. Normally, my results look like: > > > > &

Negative boost

2011-05-02 Thread Brian Lamb
983/solr/search?q=dog&bq=(*:* -species:Sheltie)^1 Return the exact same set of results with a record about a Sheltie as the top result each time. What am I doing incorrectly? Thanks, Brian Lamb

Solr security

2011-05-09 Thread Brian Lamb
when I launch my application, there will be the potential for abuse. Is the best solution to have everything reside on the same server? What are some other solutions? Thanks, Brian Lamb

Re: Solr security

2011-05-10 Thread Brian Lamb
our >> backend services, whether it's a search server or a database server, to the >> public. >> >> Read more about Solr security on the WIKI: >> http://wiki.apache.org/solr/SolrSecurity >> >> -- >> Jan Høydahl, search solution architect >> Comin

MoreLikeThis PDF search

2011-05-12 Thread Brian Lamb
d the like but is it possible to combine the two? Just to be clear, I don't want to send a PDF and have that be a part of the index. But rather, I'd like to be able to use the PDF as a MoreLikeThis search. Thanks, Brian Lamb

Changing the schema

2011-05-12 Thread Brian Lamb
If I change the field type in my schema, do I need to rebuild the entire index? I'm at a point now where it takes over a day to do a full import due to the sheer size of my application and I would prefer not having to reindex just because I want to make a change somewhere. Thanks, Brian Lamb

Re: MoreLikeThis PDF search

2011-05-13 Thread Brian Lamb
Any thoughts on this one? On Thu, May 12, 2011 at 10:46 AM, Brian Lamb wrote: > Hi all, > > I've become more and more familiar with the MoreLikeThis handler over the > last several months. I'm curious whether it is possible to do a MoreLikeThis > search by uploadi

Re: MoreLikeThis PDF search

2011-05-17 Thread Brian Lamb
Would I be better off trying to use something like PHP to read the PDF file and extrapolate the information and then pass it on to the MoreLikeThis handler or is there a way it can be done by giving it the PDF directly? On Fri, May 13, 2011 at 4:54 PM, Brian Lamb wrote: > Any thoughts on t

Disable IDF scoring on certain fields

2011-05-17 Thread Brian Lamb
ular field? Thanks, Brian Lamb

Re: Disable IDF scoring on certain fields

2011-05-17 Thread Brian Lamb
? I have need to do more than one of them and from what I can find, it seems that only computeNorm accounts for the name of the field. Thanks, Brian Lamb On Tue, May 17, 2011 at 3:34 PM, Markus Jelsma wrote: > Hi, > > Although you can configure per field TF (by omitTermFreqAndPosit

Re: Disable IDF scoring on certain fields

2011-05-17 Thread Brian Lamb
f the similarity functions on a field by field basis? I have > > need to do more than one of them and from what I can find, it seems that > > only computeNorm accounts for the name of the field. > > > > Thanks, > > > > Brian Lamb > > >

Re: Disable IDF scoring on certain fields

2011-05-18 Thread Brian Lamb
I believe I have applied the patch correctly. However, I cannot seem to figure out where the similarity class I create should reside. Any tips on that? Thanks, Brian Lamb On Tue, May 17, 2011 at 4:00 PM, Brian Lamb wrote: > Thank you Robert for pointing this out. This is not being used

Similarity class for an individual field

2011-05-19 Thread Brian Lamb
en in that case. At this point, I'm not quite sure how to debug this to see whether the problem is with the patch or the similarity class but given that the SweetSpot similarity class didn't work either, I'm inclined to think it was a problem with the patch. Any thoughts on this one? Thanks, Brian Lamb

Re: Similarity class for an individual field

2011-05-19 Thread Brian Lamb
Also, I've tried adding: To the end of the schema file so that it is applied globally but it does not appear to change the score either. What am I doing incorrectly? Thanks, Brian Lamb On Thu, May 19, 2011 at 2:45 PM, Brian Lamb wrote: > Hi all, > > Based on advice I received

Re: Similarity class for an individual field

2011-05-19 Thread Brian Lamb
I have for similarity is the line at the end of the file to apply similarity to all searches but that does not even work. So where am I going wrong? Thanks, Brian Lamb On Thu, May 19, 2011 at 3:41 PM, Brian Lamb wrote: > Also, I've tried adding: > > > > To the end of the sc

Re: Similarity class for an individual field

2011-05-20 Thread Brian Lamb
Yes. Was that not what I was supposed to do? On Thu, May 19, 2011 at 8:26 PM, Koji Sekiguchi wrote: > (11/05/20 3:45), Brian Lamb wrote: > >> Hi all, >> >> Based on advice I received on a previous email thread, I applied patch >> https://issues.apache.org/jira/br

Re: Similarity class for an individual field

2011-05-20 Thread Brian Lamb
So what was my mistake? I still have not resolved this issue. On Fri, May 20, 2011 at 11:22 AM, Brian Lamb wrote: > Yes. Was that not what I was supposed to do? > > > On Thu, May 19, 2011 at 8:26 PM, Koji Sekiguchi wrote: > >> (11/05/20 3:45), Brian Lamb wrote: >> &

Similarity

2011-05-23 Thread Brian Lamb
.org/repos/asf/lucene/dev/trunk/lucene/ So why isn't my installation taking the SweetSpot Similarity change? Thanks, Brian Lamb

Re: Similarity

2011-05-23 Thread Brian Lamb
how can I go about fixing it? Thanks, Brian Lamb On Mon, May 23, 2011 at 3:41 PM, Markus Jelsma wrote: > As far as i know, SweetSpotSimilarty needs be configured. I did use it once > but > wrapped a factory around it to configure the sweet spot. It worked just as > expected and

Re: Similarity

2011-05-24 Thread Brian Lamb
; > import org.apache.lucene.search.DefaultSimilarity; > > > > public class MyClassSimilarity extends DefaultSimilarity { > > public MyClassSimilarity() { super(); } > > public float idf(int a1, int a2) { return 1; } > > } > > > > So then this raises two qu

Similarity per field

2011-05-25 Thread Brian Lamb
solr correctly? Where is my mistake? Thanks, Brian Lamb

Re: Similarity per field

2011-05-25 Thread Brian Lamb
I looked at the patch page and saw the files that were changed. I went into my install and looked at those same files and found that they had indeed been changed. So it looks like I have the correct version of solr. On Wed, May 25, 2011 at 1:01 PM, Brian Lamb wrote: > Hi all, > > I se

Edgengram

2011-05-25 Thread Brian Lamb
gainst a field containing "abcdefghijklmnop", then the idf will score that as a 7: 7.0 = idf(myfield: a=51 ab=23 abc=2 abcd=2 abcde=2 abcdef=2 abcdefg=2) I get why that's happening, but is there a way to avoid that? Do I need to do a new field type to achieve the desired affect? Thanks, Brian Lamb

Re: Edgengram

2011-05-27 Thread Brian Lamb
For this, I ended up just changing it to string and using "abcdefg*" to match. That seems to work so far. Thanks, Brian Lamb On Wed, May 25, 2011 at 4:53 PM, Brian Lamb wrote: > Hi all, > > I'm running into some confusion with the way edgengram works. I ha

Re: Similarity per field

2011-05-27 Thread Brian Lamb
I'm still not having any luck with this. Has anyone actually gotten this to work so far? I feel like I've followed the directions to the letter but it just doesn't work. Thanks, Brian Lamb On Wed, May 25, 2011 at 2:48 PM, Brian Lamb wrote: > I looked at the patch page and

Explain the difference in similarity and similarityProvider

2011-05-30 Thread Brian Lamb
I'm looking over the patch notes from https://issues.apache.org/jira/browse/SOLR-2338 and I do not understand the difference between param value and is there an echo? When would I use one over the other? Thanks, Brian Lamb

Re: Edgengram

2011-05-31 Thread Brian Lamb
parameters, case isn't important either. Thanks, Brian Lamb On Tue, May 31, 2011 at 9:44 AM, Erick Erickson wrote: > That'll work for your case, although be aware that string types aren't > analyzed at all, > so case matters, as do spaces etc. > > What is the use-

Re: Edgengram

2011-05-31 Thread Brian Lamb
f and in the case of an edgengram, it returns 1 * length of the search string. Thanks, Brian Lamb On Tue, May 31, 2011 at 11:34 AM, bmdakshinamur...@gmail.com < bmdakshinamur...@gmail.com> wrote: > Can you specify the analyzer you are using for your queries? > > May be you could u

Re: Edgengram

2011-06-01 Thread Brian Lamb
Hi Tomás, Thank you very much for your suggestion. I took another crack at it using your recommendation and it worked ideally. The only thing I had to change was to The first did not produce any results but the second worked beautifully. Thanks! Brian Lamb 2011/5/31 Tomás

Re: Edgengram

2011-06-01 Thread Brian Lamb
I think in my case LowerCaseTokenizerFactory will be sufficient because there will never be spaces in this particular field. But thank you for the useful link! Thanks, Brian Lamb On Wed, Jun 1, 2011 at 11:44 AM, Erick Erickson wrote: > Be a little careful here. LowerCaseTokenizerFactory

Searching using a PDF

2011-06-01 Thread Brian Lamb
Is it possible to do a search based on a PDF file? I know its possible to update the index with a PDF but can you do just a regular search with it? Thanks, Brian Lamb

Re: Searching using a PDF

2011-06-02 Thread Brian Lamb
I mean instead of typing http://localhost:8983/?q=mysearch, I would send a PDF file with the contents of "mysearch" and search based on that. I am leaning toward handling this before it hits solr however. Thanks, Brian Lamb On Wed, Jun 1, 2011 at 3:52 PM, Erick Erickson wrote: >

Default query parser operator

2011-06-06 Thread Brian Lamb
ch/?q=field1:word AND token field2:parser syntax But, I only want it to be applied to field1, not field2 and I want the operator to always be AND unless the user explicitly types in OR. Thanks, Brian Lamb

Re: Default query parser operator

2011-06-07 Thread Brian Lamb
I feel like this should be fairly easy to do but I just don't see anywhere in the documentation on how to do this. Perhaps I am using the wrong search parameters. On Mon, Jun 6, 2011 at 12:19 PM, Brian Lamb wrote: > Hi all, > > Is it possible to change the query parser operator

Re: Default query parser operator

2011-06-07 Thread Brian Lamb
not be possible. Thanks, Brian Lamb On Tue, Jun 7, 2011 at 11:27 AM, Jonathan Rochkind wrote: > Nope, not possible. > > I'm not even sure what it would mean semantically. If you had default > operator "OR" ordinarily, but default operator "AND" just for &quo

Re: Default query parser operator

2011-06-10 Thread Brian Lamb
18:53, Jonathan Rochkind wrote: > > There's no feature in Solr to do what you ask, no. I don't think. > > > > On 6/7/2011 1:30 PM, Brian Lamb wrote: > >> > >> Hi Jonathan, > >> > >> Thank you for your reply. Your point about my exampl

Reject URL requests unless from localhost for dataimport

2011-06-24 Thread Brian Lamb
possible? If so, where should I look for a guide? Thanks, Brian Lamb

Records disappearing

2011-06-28 Thread Brian Lamb
nce but it is quite annoying. Any ideas what's going on? Thanks, Brian Lamb

Rounding errors in solr

2011-07-22 Thread Brian Lamb
et an error message there too saying score is not a recognized field. Please help! Thanks, Brian Lamb

Re: Rounding errors in solr

2011-07-25 Thread Brian Lamb
Yes and that's causing some problems in my application. Is there a way to truncate the 7th decimal place in regards to sorting by the score? On Fri, Jul 22, 2011 at 4:27 PM, Yonik Seeley wrote: > On Fri, Jul 22, 2011 at 4:11 PM, Brian Lamb > wrote: > > I've noticed some p

  1   2   >