Image results in Solr Search

2011-09-01 Thread Jagdish Kumar
Hi I am trying indexing and searching various type of files in Solr3.3.0, I am able to index image files but it fail to show these files in result of any search operation. I am not aware of how Solr works for searching images, I mean it is content based or meta data based .. I am not sure.

RE: Solritas issue in opening files

2011-09-01 Thread Jagdish Kumar
Thanks Erik for ur inputs .. I will try them out and see if I get any further on this. Thanks Jagdish > Date: Thu, 1 Sep 2011 06:28:34 -0700 > From: ml-node+3301258-983586473-392...@n3.nabble.com > To: solr-user@lucene.apache.org > Subject: Re: Solritas issue in opening files > > > > If y

Solr Hangs

2011-09-01 Thread Rohit
Hi All, I am using Solr 3.0 and have 4 cores build into it with the following statistics, Core1 : numDocs : 69402640maxDoc : 69404745 Core2 : numDocs : 5669231 maxDoc : 5808496 Core3 : numDocs : 6654951 maxDoc : 6654954 Core4: numDocs : 138872 maxDoc : 185723 T

Re: Sorting results by Range

2011-09-01 Thread Sowmya V.B.
Hi Chris I understood how to handle this now. I tried and I am getting what I wanted. Thanks for a very detailed explanation. I reversed the asc, desc part and was wondering that its not working as I wanted. After seeing the latest mail, I figured out my mistake. Thanks once again! On Fri, Sep

Saravanan Chinnadurai/Actionimages is out of the office.

2011-09-01 Thread Saravanan . Chinnadurai
I will be out of the office starting 02/09/2011 and will not return until 06/09/2011. Please email to itsta...@actionimages.com for any urgent issues. Action Images is a division of Reuters Limited and your data will therefore be protected in accordance with the Reuters Group Privacy / Data P

when 4.0 released

2011-09-01 Thread 陈葵
Hi All Is there any body know when version 4.0 will be released? From https://issues.apache.org/jira/browse/SOLR-1873,this features will be fixed in version 4.0。It's very important to me because I'm using SolrClound in a real project。

Re: I can't pass the unit test when compile from apache-solr-3.3.0-src

2011-09-01 Thread Chris Hostetter
: Trunk builds and tests fine but 3.3 fails the test below ... : NOTE: reproduce with: ant test -Dtestcase=ContentStreamTest : -Dtestmethod=testURLStream : -Dtests.seed=743785413891938113:-7792321629547565878 ... : java.net.ConnectException: Connection timed out: connect ..

Re: [Q]Solr response passed to remote JsonStore - highlighting properties embed in the response part

2011-09-01 Thread Chris Hostetter
: *What I want:* to change the output by embedding the highlighting properties : into the response properties, such that the response part looks like: Work along the lines of making this a generally available feature is already in progress on the trunk as part of the "psuedo fields" work (SOLR-

Re: How to send an OpenBitSet object from Solr server?

2011-09-01 Thread Chris Hostetter
: I was not referring to Lucene's doc ids but the doc numbers (unique key) Uh ... ok. this is why i asked you waht you were planning on doing with the OpenBitSet -- it's just bits, indicating hte offsets of the documents in the total index. having access to a copy of that on the lcient side

Re: More Like This on number fields

2011-09-01 Thread Chris Hostetter
: For example, a document with the field numberOfParticipant at 10, i would : like to have some similar documents with numberOfParticipant between 5 and : 15. : : Does this option exist ? No ... MLT works purely on the basis of terms, so if you tried have MLT use a numeric field it would just f

Re: getting data from only one database

2011-09-01 Thread Chris Hostetter
: we created a solr which is connected to two databases and we created a : jquery auto complete.in two databases we r having keywords and it is : default search.so beside the search button we r ctearing more more : drop down list and nmaed the two databases when the user click one one : database a

Re: FileDataSource baseDir to be solr.data.dir

2011-09-01 Thread Chris Hostetter
: https://wiki.apache.org/solr/DataImportHandlerFaq#Is_it_possible_to_use_core_properties_inside_data-config_xml.3F -Hoss

Re: can i create filters of score range

2011-09-01 Thread Chris Hostetter
: so coming back to the issue .. even if am sorting it by _docid_ i need to do : paging( 2 million docs in result) : how is it internally doing it ? : when sorted by docid, don we have deep pagin issue ? (getting all the : previous pages into memory to get the next page) : so whats the main differ

Re: Sorting results by Range

2011-09-01 Thread Chris Hostetter
: sort=map(map(myNumField,0,10,0),20,100,0) desc, score desc : sort=map(map(myNumField,0,10,100),20,100,100) asc, score desc ... : By doing the second one, I expected to get the same results, ordered like : 13, 17,18, 20. But, what I got were other values as results, that are not in : the

Re: DataImportHandler using new connection on each query

2011-09-01 Thread Chris Hostetter
: However, I tested this against a slower SQL Server and I saw : dramatically worse results. Instead of re-using their database, each of : the sub-entities is recreating a connection each time the query runs. are you seeing any specific errors logged before these new connections are created?

Re: Test failures on lucene_solr_3_3 and branch_3x

2011-09-01 Thread Chris Hostetter
: I've got a consistent test failure on Solr source code checked out from svn. : The same thing happens with 3.3 and branch_3x. I have information saved from Shawn: sorry for hte late reply. I can't reproduce your specific problem, but the test in question is suspiciously hinky enough taht i t

Re: Getting MoreLikeThisHandler operational.

2011-09-01 Thread Koji Sekiguchi
(11/09/02 4:00), Herman Kiefus wrote: Thank you very much. Name mlt This is not what I was suggesting. MLT*Handler* is a request handler but not SearchComponent-aware handler. That said, it ignores ... part. If MLTHandler

Re: copying one field to another using regex

2011-09-01 Thread Markus Jelsma
No, field data is copied verbatim. Copy the field and strip what you don't need. > Hello, > > Is it possible to create a copy field from another by applying a regex or a > function to source. > > Thanks. > Alex.

Re: geodist() parameters?

2011-09-01 Thread Juan Grande
Hi Bill, As far as I know, you can pass a completely different set of parameters to each of the functions/filters. For example: http://localhost:8983/solr/select?q={!func}add(geodist(field1, 10, -10),geodist(field2, 20, -20))&fq={!geofilt sfield=field3 pt=30,-30 d=100}

Date Faceting on Solr 3.1

2011-09-01 Thread karthik
Hi Everyone, I am trying to configure date faceting on Solr 3.1. I browsed through the wiki and understood how to enable and configure it. To explain this better, lets take an example - my index has docs with dates ranging from 01/01/1995 until NOW (ie., today) as of now. To configure date facet

Re: core creation and instanceDir parameter

2011-09-01 Thread lboutros
instanceDir=. does that fit your needs ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/core-creation-and-instanceDir-parameter-tp3287124p3302496.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Copying a copyfield into another copyfield

2011-09-01 Thread karthik
Thanks Jamie. Missed to notice that one from the wiki. Thanks, Karthik On Thu, Sep 1, 2011 at 3:38 PM, Jamie Johnson wrote: > This won't work, according to > http://wiki.apache.org/solr/SchemaXml#Copy_Fields > > "This is provided as a convenient way to ensure that data is put into > several fie

Re: Question on functions

2011-09-01 Thread Alexei Martchenko
We put here dismax ... ... recip(ms(NOW,sear_dataupdate),3.16e-11,1,1) ... 2011/9/1 Craig Stadler > Regarding : > http://wiki.apache.org/solr/**FunctionQuery#Date_Boosting > > Specifcally : recip(ms(NOW/HOUR,mydatefield)**,3.16e-11,1,1

Re: Copying a copyfield into another copyfield

2011-09-01 Thread Jamie Johnson
This won't work, according to http://wiki.apache.org/solr/SchemaXml#Copy_Fields "This is provided as a convenient way to ensure that data is put into several fields, without needing to include the data in the update command multiple times. The copy is done at the stream source level and no copy fe

Copying a copyfield into another copyfield

2011-09-01 Thread karthik
Hi Everyone, Sorry if the subject was too vague. What i am trying to do is this: So basically i am trying to copy one of the destination fields of a copy field to another field. The question i have is whether the field E will get populated properly ie., by the time E is getting constr

Custom response header from Solr

2011-09-01 Thread Jamie Johnson
Is there a way to add arbitrary values into the response header? I have a need to insert a boolean into the header and doing something like SolrQueryResponse rsp = rb.rsp; rsp.getResponseHeader().add("testValue", Boolean.TRUE); Works so long as the query is not distributed. When the query is di

Question on functions

2011-09-01 Thread Craig Stadler
Regarding : http://wiki.apache.org/solr/FunctionQuery#Date_Boosting Specifcally : recip(ms(NOW/HOUR,mydatefield),3.16e-11,1,1). I am using dismax, and I am very unsure on where to put this or call the function... for example in the fq= param??, in the q= param? Sample query : http://localhost

RE: Context-Sensitive Spelling Suggestions & Collations

2011-09-01 Thread Dyer, James
The changes to DirectSpellChecker are included in SOLR-2585 patch, which I sync'ed to the current Trunk today. So all you have to do is apply the patch, build and then add the 1-2 new parameters to your query: - spellcheck.alternativeTermCount - the # of suggestions you want to generate on ter

spellchecking in nutch solr

2011-09-01 Thread alxsss
Hello, I have tried to implement spellchecker based on index in nutch-solr by adding spell field to schema.xml and making it a copy from content field. However, this increased data folder size twice and spell filed as a copy of content field appears in xml feed which is not necessary. Is it po

Re: Wildcard Query

2011-09-01 Thread Aaron Bains
I solved the problem by setting multiValued=false On Thu, Sep 1, 2011 at 2:37 PM, Aaron wrote: > It seems to work correctly once I remove the brackets like this: > q=keywords:symante* AND corporatio* > But I don't understand why... > > > On Thu, Sep 1, 2011 at 2:26 PM, Aaron wrote: > >> Hello, >

RE: Getting MoreLikeThisHandler operational.

2011-09-01 Thread Herman Kiefus
Thank you very much. Name mlt -Original Message- From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Thursday, September 01, 2011 11:06 AM To: solr-user@lucene.apache.org Subject: Re: Getting MoreLikeThisHandler ope

Re: Solr Join with multiple query parameters

2011-09-01 Thread Chris Hostetter
: http://localhost:8983/solr/core0/select?q={!join%20from=matchset_id_ss%20to=id}*:*&fq=status_s:completed : : I get filtered results of documents that are completed. The issue I am now : trying to face is how do I filter the initial search of documents based on : multiple conditions and then ge

Re: Wildcard Query

2011-09-01 Thread Aaron Bains
It seems to work correctly once I remove the brackets like this: q=keywords:symante* AND corporatio* But I don't understand why... On Thu, Sep 1, 2011 at 2:26 PM, Aaron Bains wrote: > Hello, > > The keywords field type is "text_en_splitting" > > My query is as follows:q=keywords:(symantec AN

Wildcard Query

2011-09-01 Thread Aaron Bains
Hello, The keywords field type is "text_en_splitting" My query is as follows:q=keywords:(symantec AND corporation) Result: Documents are returned as normal My wildcard query is as follows: q=keywords:(symante* AND corporation) Result: Wildcard functions correctly, and documents are ret

Re: custom filterquery

2011-09-01 Thread Chris Hostetter
: pricing. I have written a functionquery to get the pricing, which works : fine as part of the search query, but doesn't seem to be doing anything when : I try to use it in a filter query. I wrote my pricing function query based how are you trying to use it in a filter query? function queries

Re: A good signature class for deduplication

2011-09-01 Thread Chris Hostetter
: I want to deduplicate documents from search results. What should be the : parameters on which I should decide an efficient SignatureClass? Also, what : are the SignaureClasses available? the signature classes available are the ones mentioned on the wiki... https://wiki.apache.org/solr/Deduplic

Re: Post Processing Solr Results

2011-09-01 Thread Jamie Johnson
Ok, think I got it. Basically the issue was that I can't modify the offset and start params when the search is a distributed one, otherwise the correct offset and max are lost, a simple check in prepare fixed this. On Thu, Sep 1, 2011 at 11:10 AM, Jamie Johnson wrote: > Ok, so I feel like I'm 90

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. However, my only compl

RE: is it possible to do automatic indexing in solr ?

2011-09-01 Thread Jaeger, Jay - DOT
If you are indexing data, rather than "documents", another possibility is to use database triggers to fire off updates. -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: Wednesday, August 31, 2011 9:13 AM To: solr-user@lucene.apache.org Subject: Re: is it possib

Autocomplete

2011-09-01 Thread Brian Lamb
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. However, my only complaint is that it only matches the beginning of the word. For example, if I try to autocomplete "dober", I would only get, "Doberman", "Doberman Pincher" but not "P

Re: Post Processing Solr Results

2011-09-01 Thread Jamie Johnson
Ok, so I feel like I'm 90% of the way there. For standard queries things work fine, but for distributed queries I'm running into a bit of an issue. Right now the queries run fine but when doing distributed queries (using SolrCloud) the numFound is always getting set to the number of requested row

Re: Getting MoreLikeThisHandler operational.

2011-09-01 Thread Koji Sekiguchi
(11/09/01 23:24), Herman Kiefus wrote: mlt but ends up returning a 500 error on a core reload. What is an appropriate configuration entry for the MLT handler? Why you got 500 error because MLTComponent was set for requestHandler class. Set class="solr.SearchHandler

Best approach to Intersect results with big Set?

2011-09-01 Thread Ryan McKinley
I have an application where I need to return all results that are not in a Set (the Set is managed from hazelcast... but that is not relevant) As a fist approach, i have a SerachComponent that injects a BooleanQuery: BooleanQuery bq = new BooleanQuery(true); for( String id : ids) {

Getting MoreLikeThisHandler operational.

2011-09-01 Thread Herman Kiefus
I've begun tinkering with MLT using the standard request handler. The Wiki also suggests using the MoreLikeThis handler directly, but apparently, this is not in the default configuration (as I recall, I haven't removed anything from solrconfig.xml as shipped). For example: http://devsolr03:89

Re: core creation and instanceDir parameter

2011-09-01 Thread Gérard Dupont
On 31 August 2011 20:27, Jaeger, Jay - DOT wrote: > Well, if it is for creating a *new* core, Solr doesn't know it is pointing > to your shared conf directory until after you create it, does it? > > JRJ > Indeed, but the conf directory is not a problem for me. The things is I would like to avoid

MoreLikeThis assumptions

2011-09-01 Thread Herman Kiefus
Given a document id:n show me those other documents with similar values in the 'Name' field: http://devsolr03:8983/solr/primary/select?q=id:182652&fl=id,Name,score&mlt=true&mlt.fl=Name My assumption is the above query will generate the desired outcome. It does; however, given a different docum

Re: Solr commit process and read downtime

2011-09-01 Thread Mike Austin
Wow.. thanks for the great answers Erick! This answered my concerns perfectly. Mike On Thu, Sep 1, 2011 at 7:54 AM, Erick Erickson wrote: > See below: > > On Wed, Aug 31, 2011 at 2:16 PM, Mike Austin > wrote: > > I've set up a master slave configuration and it's working great! I know > > this

Solr replication / repeater

2011-09-01 Thread Rene Lehmann
Hi there, i´m really new in Solr and have a question about the Solr replication. We want to use Solr in two data centers (dedicated fibre channel lane, like intranet) behind a load balancer. Is the following infrastructure possible? - one repeater and one slave per data center - the repeaters u

Re: Solritas issue in opening files

2011-09-01 Thread Erik Hatcher
If your files are under Solr's conf/ directory, you can get them served up using the ShowFileRequestHandler (see how the /browse serves up CSS and the autocomplete JQuery library). But otherwise, Solritas doesn't give you any capability to serve up files and the browsers aren't too happy about

Re: Solr commit process and read downtime

2011-09-01 Thread Erick Erickson
See below: On Wed, Aug 31, 2011 at 2:16 PM, Mike Austin wrote: > I've set up a master slave configuration and it's working great!  I know > this is the better setup but if I had just one index due to requirements, > I'd like to know more about the performance hit of the commit. let's just > assum

Re: [Q]Solr response passed to remote JsonStore - highlighting properties embed in the response part

2011-09-01 Thread Erick Erickson
You probably want to write your own ResponseWriter, since you're working in JSON, maybe JSONResponseWriter is the place to start. Best Erick On Wed, Aug 31, 2011 at 4:58 AM, malic wrote: > Hello, I have a very specific question about the Solr response passed to > remote JsonStore. > > *Solr resp

Re: NRT and commit behavior

2011-09-01 Thread Erick Erickson
Hmm, I'm guessing a bit here, but using an invalid query doesn't sound very safe, but I suppose it *might* be OK. What does "invalid" mean? Syntax error? not safe. search that returns 0 results? I don't know, but I'd guess that filling your caches, which is the point of warming queries, might be

Re: Solr custom plugins: is it possible to have them persistent?

2011-09-01 Thread samuele.mattiuzzo
Thanks, but this was not the point of the topic :) I'm way more further than this :) Please, avoid random replies :) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-plugins-is-it-possible-to-have-them-persistent-tp3292781p3301057.html Sent from the Solr - User mail

RE: Solritas issue in opening files

2011-09-01 Thread Jagdish Kumar
Hi Balaji Thanks for your reply, I have tried file:///Absolute path stuff as well.. it still fails to open the file in mozilla/ IE both My files are not placed in Solr-home , can that be the issue ? please suggest. Thanks Jagdish > Date: Thu, 1 Sep 2011 03:40:00 -0700 > From: ml-node+33

Re: Solr custom plugins: is it possible to have them persistent?

2011-09-01 Thread AbelHerrero
Solr allows you to load custom code to perform a variety of tasks within Solr -- from custom Request Handlers to process your searches, to custom Analyzers and Token Filters for your text field, even custom Field Types. - kitchen cabinet -- View this message in context: http://lucene.47206

Re: Solritas issue in opening files

2011-09-01 Thread Balaji N.S. [via Lucene]
Hi To open files from local system use file protocol . (file:///) If you are running the application in jboss instead of jetty you can deploy the input files as a separate war which is exploded and then avoid using file protocol. File protocol is erroneous. It is not supported by reputed browser

Re: Solritas issue in opening files

2011-09-01 Thread Balaji N.S. [via Lucene]
Hi To open files from local system use file protocol . (file:///) If you are running the application in jboss instead of jetty you can deploy the input files as a separate war which is exploded and then avoid using file protocol. File protocol is erroneous. It is not supported by reputed browse

Solritas issue in opening files

2011-09-01 Thread Jagdish Kumar
Hi I have indexed some files from a directory and I can see them in results @ http://localhost:8080/solr/browse I have also added a field "Location" which displays the file Location as Link : Following changes I have done for Links stuff: 1. Added in data-config.xml for FileListEntityProce

Re: Issue with Solr and copyFields

2011-09-01 Thread samuele.mattiuzzo
you need to define the "search" field as MultiValued since you're copying into it multiple sources http://wiki.apache.org/solr/FAQ#How_do_I_use_copyField_with_wildcards.3F -- View this message in context: http://lucene.472066.n3.nabble.com/Issue-with-Solr-and-copyFields-tp3300763p3300794.html

Issue with Solr and copyFields

2011-09-01 Thread Julien Balmont
Hello, I meet an issue with Solr and copyFields and other things probably. here's a description of the issue. if anyone could help, it would be greatly appreciated as I've searched everywhere an am not able to figure out what's happening. my Solr is configured as follow: DIH request: SELECT d.lab

index not created

2011-09-01 Thread kumar8anuj
Hi, I am trying to index some documents through ExtractingRequestHandler. everything works fine with the jetty server but when i configure it with tomcat then my documents are not getting indexed only ids are getting index. means text field is blank but id field is having values though there

3.4 release date

2011-09-01 Thread Jordan Leppert
Hi, Would anyone be able to tell me roughly when version 3.4 will be released please? I'm working on a project that needs the grouping functionality, and as far as I can tell 3.4 is the version that will include the support for this into SolrJ: https://issues.apache.org/jira/browse/SOLR-2637 Tha

Re: Solr custom plugins: is it possible to have them persistent?

2011-09-01 Thread samuele.mattiuzzo
ok solved it by changing () to ty guys for all yor help, now off to debug some java errors hehe thanks again, for real! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-plugins-is-it-possible-to-have-them-persistent-tp3292781p3300629.html Sent from the Solr - U

Re: Solr custom plugins: is it possible to have them persistent?

2011-09-01 Thread Federico Fissore
a brief question: is using an IoC framework like spring an option for you? if so, maybe this could help http://lucene.472066.n3.nabble.com/dependency-injection-in-solr-td3292685.html#a3295939

Re: Solr custom plugins: is it possible to have them persistent?

2011-09-01 Thread samuele.mattiuzzo
yay i did it! i wasn't that far away from the correct implementation, it just was a bit tricky to understand how to... now i've got a problem with my singleton class: i have DBConnectionManager.jar put inside a folder ( from solrconfig.xml) but at indextime i have this error: Sep 1, 2011 10:21:2

Solr Replication / Repeater

2011-09-01 Thread Rene Lehmann
Hi there, i´m really new in Solr and have a question about the Solr replication. We want to use Solr in two data centers (dedicated fibre channel lane, like intranet) behind a load balancer. Is the following infrastructure possible? - one repeater and one slave per data center - the repeaters us

Re: solr distributed search don't work

2011-09-01 Thread olivier sallou
explicit enum 1 10 192.168.1.6/solr/,192.168.1.7/solr/ 2011/8/19 Li Li > could you please show me your configuration in solrconfig.xml? > > On Fri, Aug 19, 2011 at 5:31 PM, olivier sallou > wrote: > > Hi, > > I do not use spell but I use

Core reloading and searcher query warming in Solr 4.0

2011-09-01 Thread Rikke Willer
Hi, when reloading a core, it seems that the execution of firstSearcher and newSearcher events will happen after the new core takes over from the old. This will effectively stall querying until the caches on the new core are warmed (which can take quite a long time on large installations). Is t

Re: Solr custom plugins: is it possible to have them persistent?

2011-09-01 Thread Federico Fissore
samuele.mattiuzzo, il 31/08/2011 18:22, ha scritto: SEVERE: org.apache.solr.common.SolrException: Error Instantiating UpdateRequestProcessorFactory, ToTheGoCustom is not a org.apache.solr.update.processor.UpdateRequestProcessorFactory btw you can't load classes in the default package from clas