Re: Facet across second level of hierarchy - Dismax Request Handler - Best practice?

2009-12-10 Thread Shalin Shekhar Mangar
On Wed, Dec 9, 2009 at 8:23 PM, Daniel Knapp daniel.kn...@mni.fh-giessen.de wrote: Hello, i want a second level of hierarchy in my facets (as seen here: http://www.lucidimagination.com/search/?q=) Although the facets are presented in a hierarchical fashion, I don't think it is the

Re: Multiple Facet prefixes on the same facet field in one request?

2009-12-10 Thread Shalin Shekhar Mangar
On Wed, Dec 9, 2009 at 5:25 AM, Robert Purdy rdpu...@gmail.com wrote: Hey all, Is there anyway in Solr 1.4/1.5 to perform multiple facet prefixes on the same facet field in one request? Ex. On field 'Foo' I want to perform a facet prefix of A* and B* so I can get a facet response of all

Re: Solr usage with Auctions/Classifieds?

2009-12-10 Thread Shalin Shekhar Mangar
On Wed, Dec 9, 2009 at 5:07 AM, regany re...@newzealand.co.nz wrote: hello! just wondering if anyone is using Solr as their search for an auction / classified site, and if so how have you managed your setup in general? ie. searching against listings that may have expired etc. We use Solr

Re: Logging

2009-12-10 Thread Shalin Shekhar Mangar
On Wed, Dec 9, 2009 at 8:19 PM, Lee Smith l...@weblee.co.uk wrote: Im trying to import data with DIH (mysql) All my SQL's are good having been tested manually. When I run full import ie: http://localhost:8983/solr/dataimport?command=full-import I get my XML result but nothing is being

RE: Selection of returned fields - dynamic fields?

2009-12-10 Thread Ian Smith
OK thanks for the reply, fortunately we have now found an approach which avoids storing the field. It would be nice to be able to search for dynamic fields in a way which is consistent with their definition, although I suppose there probably isn't demand for this. Regards, Ian. -Original

Re: atypical MLT use-case

2009-12-10 Thread Andre Parodi
solr 1.4 enterprise search server. it's on the left column of the solr homepage. http://www.packtpub.com/solr-1-4-enterprise-search-server?utm_source=http://lucene.apache.org/solr/utm_medium=sponsutm_content=podutm_campaign=mdb_000275 On 09/12/09 19:14, Mike Anderson wrote: wow! exactly what

Payloads with Phrase queries

2009-12-10 Thread Raghuveer Kancherla
Hi, I am looking for a way to use payloads in my search application. Indexing data with payloads into Solr is pretty straightforward. However using the payloads during search time is a bit confusing. Can anyone point me in the right direction to enable payloads on a *PhraseQuery*. I looked at the

UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Marc Sturlese
Hey there, I need that once a document has been created be able to decide if I want it to be indexed or not. I have thought in implement an UpdateRequestProcessor to do that but don't know how to tell Solr in the processAdd void to skip the document. If I delete all the field would it be skiped

Re: Payloads with Phrase queries

2009-12-10 Thread AHMET ARSLAN
Hi, I am looking for a way to use payloads in my search application. Indexing data with payloads into Solr is pretty straightforward. However using the payloads during search time is a bit confusing. Can anyone point me in the right direction to enable payloads on a *PhraseQuery*. I

Re: UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Chris Male
Hi, If your UpdateRequestProcessor does not forward the AddUpdateCommand onto the RunUpdateProcessor, I believe the document will not be indexed. Cheers On Thu, Dec 10, 2009 at 12:09 PM, Marc Sturlese marc.sturl...@gmail.comwrote: Hey there, I need that once a document has been created be

Re: UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Marc Sturlese
Do you mean something like?: @Override public void processAdd(AddUpdateCommand cmd) throws IOException { boolean addDocToIndex =dealWithSolrDocFields(cmd.getSolrInputDocument()) ; if (next != null addDocToIndex) { next.processAdd(cmd); } else {

Re: Payloads with Phrase queries

2009-12-10 Thread Raghuveer Kancherla
I was looking through some lucene source codes and found the following class org.apache.lucene.search.payloads.PayloadSpanUtil There is a function named queryToSpanQuery in this class. Is this the preferred way to convert a PhraseQuery to PayloadNearQuery? Also, are there any performance

Re: UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Chris Male
Hi, Yeah thats what I was suggesting. Did that work? On Thu, Dec 10, 2009 at 12:24 PM, Marc Sturlese marc.sturl...@gmail.comwrote: Do you mean something like?: @Override public void processAdd(AddUpdateCommand cmd) throws IOException { boolean addDocToIndex

Results after using Field Collapsing are not matching the results without using Field Collapsing

2009-12-10 Thread Varun Gupta
Hi, I have documents under 6 different categories. While searching, I want to show 3 documents from each category along with a link to see all the documents under a single category. I decided to use field collapsing so that I don't have to make 6 queries (one for each category). Currently I am

Re: Payloads with Phrase queries

2009-12-10 Thread Grant Ingersoll
On Dec 10, 2009, at 6:35 AM, Raghuveer Kancherla wrote: I was looking through some lucene source codes and found the following class org.apache.lucene.search.payloads.PayloadSpanUtil There is a function named queryToSpanQuery in this class. Is this the preferred way to convert a

Re: Payloads with Phrase queries

2009-12-10 Thread AHMET ARSLAN
I was looking through some lucene source codes and found the following class org.apache.lucene.search.payloads.PayloadSpanUtil There is a function named queryToSpanQuery in this class. Is this the preferred way to convert a PhraseQuery to PayloadNearQuery? queryToSpanQuery method does

Re: Results after using Field Collapsing are not matching the results without using Field Collapsing

2009-12-10 Thread Martijn v Groningen
Hi Varun, Can you send the whole requests (with params), that you send to Solr for both queries? In your situation the collapse parameters only have to be used for the first query and not the second query. Martijn 2009/12/10 Varun Gupta varun.vgu...@gmail.com: Hi, I have documents under 6

Reverse sort facet query

2009-12-10 Thread Peter 4U
Hello Forum, I've had a search in the mail archives and on the 'net, but I'm sure I wouldn't be the first to have a requirement for this: Does anyone know of a good way to perform a reverse-sorted facet query (i.e. rarest first)? As you know facet.sort toggles between sorting on

Re: Results after using Field Collapsing are not matching the results without using Field Collapsing

2009-12-10 Thread Varun Gupta
Hi Martijn, I am not sending the collapse parameters for the second query. Here are the queries I am using: *When using field collapsing (searching over all categories):*

Re: UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Marc Sturlese
Yes, it did Cheers Chris Male wrote: Hi, Yeah thats what I was suggesting. Did that work? On Thu, Dec 10, 2009 at 12:24 PM, Marc Sturlese marc.sturl...@gmail.comwrote: Do you mean something like?: @Override public void processAdd(AddUpdateCommand cmd) throws IOException {

Re: copyField question

2009-12-10 Thread P Franks
Thanks. I will take a look at the TokenFilter. On Wed, Dec 9, 2009 at 11:44 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Wed, Dec 9, 2009 at 11:43 PM, P Franks pfranks...@gmail.com wrote: All, Can one use the copyField option and copy a TextField field into a

Re: Solr Configuration Management

2009-12-10 Thread Licinio Fernández Maurelo
Hi there, as i know there are two solr configuration properties files, dataimport.properties and solrcore.properties. What i want is to intercept solr app to use my own property definition files, is there any global bean (per core) which contains this data? Where in the code are the properties

Re: Multiple Facet prefixes on the same facet field in one request?

2009-12-10 Thread Robert Purdy
Hey there Shalin, After scrolling through the Jira Issues I found, http://issues.apache.org/jira/browse/SOLR-1387, discussing this exact thing.Is anyone currently working on a patch for this issue still? If not has the syntax in the last post in the Jira issue been approved so a patch can be

Custom Field sample?

2009-12-10 Thread Antonio Zippo
Hi all, could you help me to create a custom field? I need to create a field structured like a Map is it possible? how to define if the search string is on key or value (or both)? A way could be to create a char separated multivalued string field... but it isn't the best way. and with

Re: Can we build complex filter queries in SOLR

2009-12-10 Thread darniz
Anyway i wrote a lucene syntax for this +((+category:audio +brand:sony)|(+category:video +brand:sony)) Thanks darniz Shalin Shekhar Mangar wrote: On Thu, Dec 10, 2009 at 2:50 AM, darniz rnizamud...@edmunds.com wrote: Can you please let me know how to describe that condition. For

Re: Custom Field sample?

2009-12-10 Thread Grant Ingersoll
Can you perhaps give a little more info on what problem you are trying to solve? FWIW, there are a lot of examples of custom FieldTypes in the Solr code. On Dec 10, 2009, at 11:46 AM, Antonio Zippo wrote: Hi all, could you help me to create a custom field? I need to create a field

Re: Solr usage with Auctions/Classifieds?

2009-12-10 Thread Grant Ingersoll
On Dec 8, 2009, at 6:37 PM, regany wrote: hello! just wondering if anyone is using Solr as their search for an auction / classified site, and if so how have you managed your setup in general? ie. searching against listings that may have expired etc. I know several companies using Solr

RE: SolrPlugin Guidance

2009-12-10 Thread Vauthrin, Laurent
Ok, looks like I may not be taking the right approach here. I'm running a problem. Let's say a user is looking for all files in any directory 'foo' with a directory description 'bar' q:+directory_name:foo +directory_description:bar Our QParser plugin will perform queries against directory

Indexing content on Windows file shares?

2009-12-10 Thread Matt Wilkie
Hello, I'm new to Solr, I know nothing about it other than it's been touted in a couple of places as a possible competitor to Google Search Appliance, which is what brought me here. I'm looking for a search engine which can index files on windows shares and websites, and, hopefully, integrate

Re: Results after using Field Collapsing are not matching the results without using Field Collapsing

2009-12-10 Thread Martijn v Groningen
I tried to reproduce a similar situation here, but I got the expected and correct results. Those three documents that you saw in your first search result should be the first in your second search result (unless the index changes or the sort changes ) when fq on that specific category. I'm not sure

Re: Indexing content on Windows file shares?

2009-12-10 Thread Israel Ekpo
If you are looking to index websites, Nutch would be a better alternative. However, it could be useful for indexing text files. There is documentation here for how to add data to the index http://lucene.apache.org/solr/tutorial.html#Indexing+Data

Re: full-text indexing XML files

2009-12-10 Thread Lance Norskog
Or CDATA (much easier to work with). On Wed, Dec 9, 2009 at 10:37 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10, 2009 at 5:13 AM, Feroze Daud fero...@zillow.com wrote: Hi! I am trying to full text index an XML file. For various reasons, I cannot use Tika or other

Re: UI for solr core admin?

2009-12-10 Thread Lance Norskog
There is a general problem here in that Solr has no configuration for content management. There is nowhere to throw in images and html pages as part of your velocity app either. On Wed, Dec 9, 2009 at 11:09 PM, Erik Hatcher erik.hatc...@gmail.com wrote: After I sent that, though, I realized that

Re: full-text indexing XML files

2009-12-10 Thread Walter Underwood
What kind of searches do you want to do? Do you want to do searches that match the XML tags? wunder On Dec 10, 2009, at 7:43 PM, Lance Norskog wrote: Or CDATA (much easier to work with). On Wed, Dec 9, 2009 at 10:37 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10,

Re: Results after using Field Collapsing are not matching the results without using Field Collapsing

2009-12-10 Thread Varun Gupta
Here is the field type configuration of ctype: field name=ctype type=integer indexed=true stored=true omitNorms=true / In solrconfig.xml, this is how I am enabling field collapsing: searchComponent name=query class=org.apache.solr.handler.component.CollapseComponent/ Apart from this, I

Re: UI for solr core admin?

2009-12-10 Thread Erik Hatcher
Well sure, Solr is no webapp framework. But you can do some things with the ShowFileRequestHandler, like have static textual content (like CSS and JavaScript, or just an HTML page) served up. And you can simply have a Velocity template with static text in it, and map it as a request