Re: False Positives?

2010-06-11 Thread Chantal Ackermann
Hi Jed, please paste the complete field definition of name_title from your schema.xml. You are using an analyzer that reduces your text in an undesired way, on both index and query side. You probably want String for names, or similar. Spoorenberg or Saprano are analyzed in the same way as

Re: Autocompletion with Solritas

2010-06-18 Thread Chantal Ackermann
Hi, here is my solution. It has been some time since I last looked at it, but it works fine. :-) script type=text/javascript src=/solr/epg/admin/file?file=/velocity/jquery-1.4.min.jscontentType=text/javascript/script script type=text/javascript

Re: Autocompletion with Solritas

2010-06-18 Thread Chantal Ackermann
Hi Erik, thanks so much for your feedback! hightlight? highlight :) ups... Seems that this parameter is false by default, though. At least it never complained. *g* This is one of the beauties of the VelocityResponseWriter, freeing the client from having to deal with a Solr data

Re: Minor bug in Solritas with post-facet search

2010-06-21 Thread Chantal Ackermann
Hi Eric, only with POST the action attribute in the form element is allowed to have a query string. With GET, the query string is removed. (Don't ask me why, though.) Chantal On Sun, 2010-06-20 at 04:44 +0200, Erik Hatcher wrote: Fixed. form action URLs really shouldn't have query string

Re: TermsComponent - AutoComplete - Multiple Term Suggestions Inclusive Search?

2010-06-23 Thread Chantal Ackermann
Hi Saïd, I think your problem is the field's type: String. You have to use a TextField and apply tokenizers that will find subcategory if you put in cat. (Not sure which filter does that, though. I wouldn't think that the PorterStemmer cuts off prefix syllables of that kind?) If, however, you

MoreLikeThis (mlt) : use the match's maxScore for result score normalization

2010-06-24 Thread Chantal Ackermann
Hi there, consider the following response extract for a MoreLikeThis request: result name=match numFound=1 start=0 maxScore=13.4579935 result name=response numFound=103708 start=0 maxScore=4.1711807 The first result element is the document that was input and for which to return more like this

Re: MoreLikeThis (mlt) : use the match's maxScore for result score normalization

2010-06-24 Thread Chantal Ackermann
-lucene.com/?q=score+compare+absolute+relativefc_project=Lucenefc_project=Solr Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message From: Chantal Ackermann chantal.ackerm...@btelligent.de

Re: MoreLikeThis (mlt) : use the match's maxScore for result score normalization

2010-06-25 Thread Chantal Ackermann
Hi Mitch, thanks for the answer and the link. The use case is to provide content based recommendations for a single item no matter where that came from. So, this input (match) item is the best match, all more like this items compare to it, and the ones that are the most alike would have the

Re: REST calls

2010-06-30 Thread Chantal Ackermann
On Wed, 2010-06-30 at 16:12 +0200, Yonik Seeley wrote: Solr's APIs are described as REST-like, and probably do qualify as restful the way the term is commonly used. I'm personally much more interested in making our APIs more powerful and easier to use, regardless of any REST purity tests.

Wiki Documentation of facet.sort

2010-06-30 Thread Chantal Ackermann
Hi there, in the wiki, on http://wiki.apache.org/solr/SimpleFacetParameters it says: The default is true/count if facet.limit is greater than 0, false/index otherwise. I've just migrated to 1.4.1 (reindexed). I can't remember how it was with 1.4.0. When I specify my facet query with

Re: Wiki Documentation of facet.sort

2010-07-05 Thread Chantal Ackermann
Oh well. Thanks for pointing that out. *sigh* Chantal On Thu, 2010-07-01 at 04:15 +0200, Koji Sekiguchi wrote: (10/07/01 1:12), Chantal Ackermann wrote: Hi there, in the wiki, on http://wiki.apache.org/solr/SimpleFacetParameters it says: The default is true/count if facet.limit

Sort by Day - Use of DateMathParser in Function Query?

2010-07-09 Thread Chantal Ackermann
Dear all, this is not a new problem, I just wanted to check whether with 1.4 there might have been changes that allow a different approach. In my query, I retrieve results that have a date field. I have to sort the result by day only, then by a different string field. The time of that date shall

Sort by Day - Use of DateMathParser in Function Query?

2010-07-09 Thread Chantal Ackermann
The request sent by the client was syntactically incorrect (can not sort on undefined field: ms(start_date/DAY)). I am a complete newbie when it comes to function queries. Thanks for any suggestions! Chantal On Fri, 2010-07-09 at 11:44 +0200, Chantal Ackermann wrote: Dear all, this is not a new

Re: Sort by Day - Use of DateMathParser in Function Query?

2010-07-09 Thread Chantal Ackermann
-07-09 at 12:08 +0200, Chantal Ackermann wrote: [P.S. to my first post] Further contemplating http://wiki.apache.org/solr/FunctionQuery. I am using 1.4.1, the date field is configured like this: fieldType name=date class=solr.DateField sortMissingLast=true omitNorms=true/ (The schema has

Re: AW: Sort by Day - Use of DateMathParser in Function Query?

2010-07-09 Thread Chantal Ackermann
another Field to your Index where u put the Day only, you can sort by this filed then in your queries cheers. -Ursprüngliche Nachricht- Von: Chantal Ackermann [mailto:chantal.ackerm...@btelligent.de] Gesendet: Freitag, 9. Juli 2010 11:45 An: solr-user@lucene.apache.org Betreff

Re: Sort by Day - Use of DateMathParser in Function Query?

2010-07-12 Thread Chantal Ackermann
Hi Hoss, ...somewhere you got confused, or missunderstood something. There is no default date field in Solr, there are only recomendations and examples provided in the example schema.xml -- in Solr 1.4.1 *and* in Solr 1.4 the recommended field for dealing with dates is solr.TrieDateField

Re: fq= more then one ?

2010-07-12 Thread Chantal Ackermann
Hi Jörg, the filter queries are exclusive. You can specify as many as you want but everything that does not fit one of them will be excluded from your result. You can specify an OR clause in a single filter query to achieve what you want: fq=(EMAIL_HEADER_FROM:t...@mail.de OR

Re: Filter multivalue fields from search result

2010-07-12 Thread Chantal Ackermann
Hi Alex, I think you have to explain the complete use case. Paging is done by specifying the parameter start (and rows if you want to have more or less than 10 hits per page). For each page you need of course a new query, but the queries differ only in the parameter value start (first page

Re: Query: URl too long

2010-07-12 Thread Chantal Ackermann
Hi Frederico, not sure about solrNET, but changing the http method from GET to POST worked for me (using SolrJ). Chantal On Mon, 2010-07-12 at 12:18 +0200, Frederico Azeiteiro wrote: Hi, I need to perform a search using a list of values (about 2000). I'm using SolrNET

Re: Filter multivalue fields from search result

2010-07-12 Thread Chantal Ackermann
Hi Alex, feedback inline: On Mon, 2010-07-12 at 12:03 +0200, Alex J. G. Burzyński wrote: Hi Chantal, The paging problem I've asked about is that having course-event pairs and specifying rows limits the number of pairs returned not the courses

Copy Date Field and/or Using DateMathParser in DataImportHandler

2010-07-12 Thread Chantal Ackermann
Hi and back again, to create a copy of my date field that holds only the date with no time (=0:00h time). The question is: Do I have to create the new date (without time) in my own transformer (using a Calendar object) or is there some convenient way to use the DateMathParser during indexing

Re: nested query and number of matched records

2010-07-21 Thread Chantal Ackermann
Sure SOLR supports this: use facets on the field type: add to your regular query: facet.query=truefacet.field=type see http://wiki.apache.org/solr/SimpleFacetParameters On Wed, 2010-07-21 at 15:48 +0200, kenf_nc wrote: parallel calls. simultaneously query for type:short rows=10 and

Re: Dismax query response field number

2010-07-22 Thread Chantal Ackermann
is this a typo in your query or in your e-mail? you have the q parameter twice. use fq for query inputs that mention a field explicitly when using dismax. So it should be: select?q=motoqt=dismax fq =city:Paris (the whitespace is only for visualization) chantal On Thu, 2010-07-22 at 11:03

Re: Solr on iPad?

2010-07-23 Thread Chantal Ackermann
Hi, unfortunately for iPad developers, it seems that it is not possible to use the Spotlight engine through the SDK: http://stackoverflow.com/questions/3133678/spotlight-search-in-the-application Chantal On Fri, 2010-07-23 at 10:16 +0200, Mark Allan wrote: Hi Stephan, On the iPad, as with

Re: help with a schema design problem

2010-07-26 Thread Chantal Ackermann
Hi, I haven't read everything thoroughly but have you considered creating fields for each of your (I think what you call) party value? So that you can query like client:Pramod. You would then be able to facet on client and supplier. Cheers, Chantal On Fri, 2010-07-23 at 23:23 +0200,

DIH : SQL query (sub-entity) is executed although variable is not set (null or empty list)

2010-07-26 Thread Chantal Ackermann
Hi, my use case is the following: In a sub-entity I request rows from a database for an input list of strings: entity name=prog ... field name=vip ... /* multivalued, not required */ entity name=ssc_entry dataSource=ssc onError=continue query=select SSC_VALUE from

Re: Problem with parsing date

2010-07-26 Thread Chantal Ackermann
On Mon, 2010-07-26 at 14:46 +0200, Rafal Bluszcz Zawadzki wrote: EEE, d MMM HH:mm:ss z not sure but you might want to try with an uppercase 'Z' for the timezone (surrounded by single quotes, alternatively). The rest of your pattern looks fine. But if you still run into problems try

Re: Design questions/Schema Help

2010-07-27 Thread Chantal Ackermann
Hi, IMHO you can do this with date range queries and (date) facets. The DateMathParser will allow you to normalize dates on min/hours/days. If you hit a limit there, then just add a field with an integer for either min/hour/day. This way you'll loose the month information - which is sometimes

Re: DIH : SQL query (sub-entity) is executed although variable is not set (null or empty list)

2010-07-27 Thread Chantal Ackermann
${dih.functions.getReplacementIfNeeded(prog.vip). Kind regards, - Mitch Chantal Ackermann wrote: Hi, my use case is the following: In a sub-entity I request rows from a database for an input list of strings: entity name=prog ... field name=vip ... /* multivalued

Re: DIH : SQL query (sub-entity) is executed although variable is not set (null or empty list)

2010-07-27 Thread Chantal Ackermann
Hi Mitch, New idea: Create a method which returns the query-string: returnString(theVIP) { if ( theVIP != null || theVIP != ) { return a query-string to find the vip } else { return SELECT 1 // you need to modify this,

Re: DIH : SQL query (sub-entity) is executed although variable is not set (null or empty list)

2010-07-27 Thread Chantal Ackermann
Hi Mitch, thanks for the code. Currently, I've got a different solution running but it's always good to have examples. If realized that I have to throw an exception and add the onError attribute to the entity to make that work. I am curious: Can you show how to make a method

Re: Indexing Problem: Where's my data?

2010-07-28 Thread Chantal Ackermann
make sure to set stored=true on every field you expect to be returned in your results for later display. Chantal

Re: DIH : SQL query (sub-entity) is executed although variable is not set (null or empty list)

2010-07-28 Thread Chantal Ackermann
Hi Lance! On Wed, 2010-07-28 at 02:31 +0200, Lance Norskog wrote: Should this go into the trunk, or does it only solve problems unique to your use case? The solution is generic but is an extension of XPathEntityProcessor because I didn't want to touch the solr.war. This way I can deploy the

Re: SolrJ Response + JSON

2010-07-28 Thread Chantal Ackermann
You could use org.apache.solr.handler.JsonLoader. That one uses org.apache.noggit.JSONParser internally. I've used the JacksonParser with Spring. http://json.org/ lists parsers for different programming languages. Cheers, Chantal On Wed, 2010-07-28 at 15:08 +0200, MitchK wrote: Hello ,

Re: SolrJ Response + JSON

2010-07-28 Thread Chantal Ackermann
change the SOLR results at query time according to your needs? Maybe you should ask for that, first (ask for X instead of Y...). Cheers, Chantal Thanks for sharing ideas. - Mitch Am 28.07.2010 15:35, schrieb Chantal Ackermann: You could use org.apache.solr.handler.JsonLoader. That one

Re: Implementing lookups while importing data

2010-07-29 Thread Chantal Ackermann
Hi Gora, your suggestion is good. Two thoughts: 1. if both of the tables you are joining are in the same database under the same user you might want to check why the join is so slow. Maybe you just need to add an index on a column that is used in your WHERE clauses. Joins should not be slow. 2.

Re: Excluding large tokens from indexing

2010-07-29 Thread Chantal Ackermann
This is probably what you want? http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.LengthFilterFactory On Thu, 2010-07-29 at 15:44 +0200, Paul Dlug wrote: Is there a filter available that will remove large tokens from the token stream? Ideally something configurable to a

Re: advice on creating a solr index when data source is from many unrelated db tables

2010-07-30 Thread Chantal Ackermann
Hi Ahmed, fields that are empty do not impact the index. It's different from a database. I have text fields for different languages and per document there is always only one of the languages set (the text fields for the other languages are empty/not set). It works all very well and fast. I

Re: SolrJ and Multi Core Set up

2010-09-03 Thread Chantal Ackermann
Hi Shaun, you create the SolrServer using multicore by just adding the core to the URL. You don't need to add anything with SolrQuery. URL url = new URL(new URL(solrBaseUrl), coreName); CommonsHttpSolrServer server = new CommonsHttpSolrServer(url); Concerning the default core thing - I wouldn't

RE: Simple Filter Query (fq) Use Case Question

2010-09-16 Thread Chantal Ackermann
Hi Andre, changing the entity in your index from donor to gift changes of course the scope of your search results. I found it helpful to re-think such change from that other side (the result side). If the users of your search application look for individual gifts, in the end, then changing the

Re: Boosting specific field value

2010-09-16 Thread Chantal Ackermann
Hi Ravi, with dismax, use the parameter q.alt which expects standard lucene syntax (instead of q). If q.alt is present in the query, q is not required. Add the parameter qt=dismax. Chantal On Thu, 2010-09-16 at 06:22 +0200, Ravi Kiran wrote: Hello Mr.Rochkind, I am

Re: Restrict possible results based on relational information

2010-09-20 Thread Chantal Ackermann
hi Stefan users can send privates messages, the selection of recipients is done via auto-complete. therefore we need to restrict the possible results based on the users confirmed contacts - but i have absolutely no idea how to do that :/ Add all confirmed contacts to the index, and use it

Re: Autocomplete: match words anywhere in the token

2010-09-23 Thread Chantal Ackermann
On Wed, 2010-09-22 at 20:14 +0200, Arunkumar Ayyavu wrote: Thanks for the responses. Now, I included the EdgeNGramFilter. But, I get the following results when I search for canon pixma. Canon PIXMA MP500 All-In-One Photo Printer Canon PowerShot SD500 As you can guess, I'm not expecting the

Re: Missing facet values for zero counts

2010-09-29 Thread Chantal Ackermann
Hi Allistair, On Wed, 2010-09-29 at 15:37 +0200, Allistair Crossley wrote: Hello list, I am implementing a directory using Solr. The user is able to search with a free-text query or 2 filters (provided as pick-lists) for country. A directory entry only has one country. I am using Solr

Re: Problems with WordDelimiterFilterFactory

2009-10-09 Thread Chantal Ackermann
Hi Bernadette, Bernadette Houghton schrieb: Thanks for this Patrick. If I remove one of the hyphens, solr doesn't throw up the error, but still doesn't find the right record. I see from marklo's analysis page that solr is still parsing it with a hyphen. Changing this part of our schema.xml -

Re: concatenating tokens

2009-10-09 Thread Chantal Ackermann
Hi Joe, WordDelimiterFilter removes different delimiters, and creates several token strings from the input. It can also concatenate and add that as additional token to the stream. Though, it concatenates without space. But maybe you can tweak it to your needs? You could also use two different

Re: multi-word synonyms and analysis.jsp vs real field analysis (query, index)

2009-10-09 Thread Chantal Ackermann
Hi Patrick, have you added that SynonymFilter to the index chain and the query chain? You have to add it to both if you want to have it replaced at index and query time. It might also be enough to add it to the query chain only. Than your index still preserves the original data. Cheers,

Re: One more happy Solr user ...

2009-10-14 Thread Chantal Ackermann
Hi Avlesh, that is mean to sent something like that http://mumbai.burrp.com/pack/list/kolkata-on-a-roll around at lunch time - in Germany(!). Very very sadly, there are many places in Mumbai that have mastered the art of making authentic Kolkata rolls but I don't know of any here in

Re: data import with transformer

2009-10-29 Thread Chantal Ackermann
Another option is the RegexTransformer in DIH: http://wiki.apache.org/solr/DataImportHandler?highlight=%28regex%29#RegexTransformer Chantal William Pierce schrieb: I'd recommend two ways: The way I do it in my app is that I have written a MySql function to transform the column as part of

Re: solr web ui

2009-10-30 Thread Chantal Ackermann
Hi! Just to make sure - you did see the search form in the SOLR admin ui? Chantal scabbage schrieb: Hi, I'm a new solr user. I would like to know if there are any easy to setup web UIs for solr. It can be as simple as a search box, term highlighting and basic faceting. Basically I'm using

Re: Is it possible to a Transform handle data from 2 rows?

2009-10-30 Thread Chantal Ackermann
Hi Lucas, check out the thread: DataImportHandler / Import from DB : one data set comes in multiple rows I am doing this successfully with my custom EntityProcessor as described in that thread. If you have any more questions or need some more code examples, just ask. I'd be glad to help!

Re: best way to model 1-N

2009-10-30 Thread Chantal Ackermann
multiValued=true/ field name=categoryName type=text indexed=true stored=true required=false multiValued=true/ what am I missing? thanks Joel On Oct 30, 2009, at 10:00 AM, Chantal Ackermann wrote: That depends a bit on your database, but it is tricky and might not be performant. If you

Re: Indexing multiple entities

2009-11-02 Thread Chantal Ackermann
I'm using a code generator for my entities, and I cannot modify the generation. I need to work out another option :( shouldn't code generators help development and not make it more complex and difficult? oO (sry off topic) chantal

TermVectorComponent : Required / Optional Parameters

2009-11-03 Thread Chantal Ackermann
Hi all! Are these attributes required to make TermVectorComponent requests work? termPositions=true termOffsets=true I have quite a lot of fields with termVectors=true (for facetting), but I don't get any results when requesting: .../solr/epg/select?q=*%3A*version=2.2start=0rows=1

DIH : RegexTransformer with groupNames requires all groups to be not empty?

2009-11-03 Thread Chantal Ackermann
=participant,role regex=([^\|]+)\|\d+,\d+,\d+,(.+) /-- Chantal Chantal Ackermann schrieb: follow-up: regex=([^\|]+)\|\d+,\d+,\d+,(.+) is the version I chose after I had the following problems with regex=([^\|]+)\|\d+,\d+,\d+,(.*) (changed * into + for the second group): The role field contained

Re: Bug with DIH and MySQL CONCAT()?

2009-11-04 Thread Chantal Ackermann
Hi Jonathan, the concatenation seems to return a byte array because those are rendered into a string starting with [B when calling toString() on them. I have no suggestion on how to get a different return value from that sql query. To concatenate you could also use a transformer. Simply

Re: leading and trailing wildcard query

2009-11-06 Thread Chantal Ackermann
Just for the records - this works like a charm: .../select?q=*potter*qt=dismax response − lst name=responseHeader int name=status0/int int name=QTime93/int − lst name=params str name=q*potter*/str str name=qtdismax/str /lst /lst − result name=response numFound=572 start=0 maxScore=5.3375173 ...

Similar documents from multiple cores with different schemas

2009-11-09 Thread Chantal Ackermann
Hi all, my search for any postings answering the following question haven't produced any helpful hints so far. Maybe someone can point me into the right direction? Situation: I have two cores with slightly different schemas. Slightly means that some fields appear on both cores but there are

Re: A question about how to make schema.xml change take effect

2009-11-10 Thread Chantal Ackermann
Did the schema browser really show a different type after restarting? I would think you'd have to reindex before the change gets applied to the actual data. Or is you're index/import process launched on Tomcat startup? (schema.xml != schema browser ?!) Chantal Bertie Shen schrieb: Oh.

Converting SortableIntField to Integer (Externalizing)

2009-11-10 Thread Chantal Ackermann
Hi all, has anyone some code snippet on how to convert the String representation of a SortableIntField (or SortableLongField or else) to a java.lang.Integer or int? Input: String (cryptic, non human readable, value of a sint field) Output: Integer or int I would appreciate if anyone could

Re: Similar documents from multiple cores with different schemas

2009-11-12 Thread Chantal Ackermann
core? Exactly See parameter mlt.interestingTerms in MoreLikeThisHandler http://wiki.apache.org/solr/MoreLikeThisHandler You can get interesting terms and build query (with N optional clauses + boosts) to second core yourself HIH, Alex On Mon, Nov 9, 2009 at 6:25 PM, Chantal Ackermann

Re: Converting SortableIntField to Integer (Externalizing)

2009-11-12 Thread Chantal Ackermann
a JIRA issue on that? Cheers, Chantal Yonik Seeley schrieb: On Tue, Nov 10, 2009 at 10:26 AM, Chantal Ackermann chantal.ackerm...@btelligent.de wrote: has anyone some code snippet on how to convert the String representation of a SortableIntField (or SortableLongField or else

Re: Arguments for Solr implementation at public web site

2009-11-13 Thread Chantal Ackermann
Jan-Eirik B. Nævdal schrieb: Some extra for the pros list: - Full control over which content to be searchable and not. - Posibility to make pages searchable almost instant after publication - Control over when the site is indexed +1 expecially the last point you can also add a robot.txt and

Re: Selection of terms for MoreLikeThis

2009-11-13 Thread Chantal Ackermann
Hi Andrew, no idea, I'm afraid - but could you sent the output of interestingTerms=details? This at least would show what MoreLikeThis uses, in comparison to the TermVectorComponent you've already pasted. Chantal Andrew Clegg schrieb: Any ideas on this? Is it worth sending a bug report?

Re: Selection of terms for MoreLikeThis

2009-11-13 Thread Chantal Ackermann
in this case? But seems a bit like work around. Cheers, Chantal Andrew Clegg schrieb: Chantal Ackermann wrote: no idea, I'm afraid - but could you sent the output of interestingTerms=details? This at least would show what MoreLikeThis uses, in comparison to the TermVectorComponent you've already

Re: i want to use something like *query* similar to database - %query% like search

2009-12-02 Thread Chantal Ackermann
The DismaxRequestHandler can handle that query input. Add qt=dismax to your call. There is a default configuration of dismax in the solrconfig sample that ships with each release. You want to adopt that to your schema. Dismax will also allow you to search on multiple selected fields with

Custom SearchHandler using existing DismaxRequestHandler

2010-01-08 Thread Chantal Ackermann
Dear all, happy New Year! For my custom searchHandler (called /list) that uses the VelocityResponseWriter I would like to use the existing dismax configuration. Therefore I did NOT specify ANY dismax configuration in that custom handler. In short: it's not using (my existing) dismax at

Re: Custom SearchHandler using existing DismaxRequestHandler

2010-01-08 Thread Chantal Ackermann
for a dismax.vm template for rendering. Erik On Jan 8, 2010, at 8:23 AM, Chantal Ackermann wrote: Dear all, happy New Year! For my custom searchHandler (called /list) that uses the VelocityResponseWriter I would like to use the existing dismax configuration. Therefore I did NOT specify

Re: updating solr server

2010-01-12 Thread Chantal Ackermann
2) Also, is CommonsHttpSolrServer thread safe? it is only if you initialize it with the MultiThreadedHttpConnectionManager: http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.html Cheers, Chantal

Re: Encountering a roadblock with my Solr schema design...use dedupe?

2010-01-12 Thread Chantal Ackermann
Hi Kelly, ...the criteria for this hypothetical search involves multi-valued fields, where the index of one matching criteria needs to correspond to the same value in another multi-valued field in the same index. You can't do that... Just my two cents: By storing values in two different

Re: Queries of type field:value not functioning

2010-01-13 Thread Chantal Ackermann
try /solr/select?q.alt=*:*qt=dismax or /solr/select?q=some search termqt=dismax dismax should be configured in solrconfig.xml by default, but you have to adapt it to list the fields from your schema.xml and for anything with known field: /solr/select?q=field:valueqt=standard Cheers, Chantal

Restricting Facet to FilterQuery in combination with mincount

2010-01-13 Thread Chantal Ackermann
Hi all, is it possible to restrict the returned facets to only those that apply to the filter query but still use mincount=0? Keeping those that have a count of 0 but apply to the filter, and at the same time leaving out those that are not covered by the filter (and thus 0, as well). Some

Re: Restricting Facet to FilterQuery in combination with mincount

2010-01-19 Thread Chantal Ackermann
not to everything - that might describe it, as well. Does that make sense? Thanks, Chantal Shalin Shekhar Mangar schrieb: On Wed, Jan 13, 2010 at 4:55 PM, Chantal Ackermann chantal.ackerm...@btelligent.de wrote: Hi all, is it possible to restrict the returned facets to only those that apply

AW: Restricting Facet to FilterQuery in combination with mincount

2010-01-20 Thread Chantal Ackermann
Thank you, Chris! That did clarify it. :-) Cheers, Chantal Von: Chris Hostetter [hossman_luc...@fucit.org] Gesendet: Dienstag, 19. Januar 2010 23:27 An: solr-user@lucene.apache.org Betreff: Re: Restricting Facet to FilterQuery in combination with mincount

AW: TermsComponent, multiple fields, total count

2010-01-20 Thread Chantal Ackermann
I find the DismaxRequestHandler perfect for matching multiple fields, matching phrases in other/subset of fields, weighting the different matches. It's powerful and fast. You can define several DismaxRequestHandlers if you want to offer different kinds of search areas to the user (e.g. search

Re: Choosing what document to return.

2010-01-21 Thread Chantal Ackermann
Hi Noam, if you know about those rules at index time, you should put the information into the index and simply query only for those documents that have the desired value(s). Cheers, Chantal Noam G. schrieb: Hi Guys, I'll start by thanking every one for an amazing search engine! What am I

Re: Exception using SolrJ

2011-12-21 Thread Chantal Ackermann
Hi Shawn, maybe the requests that fail have a certain pattern - for example that they are longer than all the others. Chantal

Re: Update schema.xml using solrj APIs

2011-12-22 Thread Chantal Ackermann
Hi Ahmed, if you have a multi core setup, you could change the file programmatically (e.g. via XML parser), copy the new file to the existing one (programmatically, of course), then reload the core. I haven't reloaded the core programmatically, yet, but that should be doable via SolrJ. Or - if

RE: Solr, SQL Server's LIKE

2011-12-30 Thread Chantal Ackermann
The problem with the wildcard searches is that the input is not analyzed. For english, this might not be such a problem (except if you expect case insenstive search). But than again, you don't get that with like, either. Ngrams bring that and more. What I think is often forgotten when comparing

Re: Solr, SQL Server's LIKE

2012-01-02 Thread Chantal Ackermann
Thanks, Erick! That sounds great. I really do have to upgrade. Chantal On Sun, 2012-01-01 at 16:42 +0100, Erick Erickson wrote: Chantal: bq: The problem with the wildcard searches is that the input is not analyzed. As of 3.6/4.0, this is no longer entirely true. Some analysis is

Re: can solr automatically search for different punctuation of a word

2012-01-13 Thread Chantal Ackermann
Hi Alex, for me, ICUFoldingFilterFactory works very good. It does lowercasing and removes diacritica (this is how umlauts and accenting of letters is called - punctuation means comma, points etc.). It will work for any any language, not only German. And it will also handle apostrophs as in C'est

Re: Parameter for database host in DIH?

2012-01-23 Thread Chantal Ackermann
Hi wunder, for us, it works with internal dots when specifying the properties in $SOLR_HOME/[core]/conf/solrcore.properties: like this: db.url=xxx db.user=yyy db.passwd=zzz $SOLR_HOME/[core]/conf/data-config.xml: dataSource type=JdbcDataSource driver=oracle.jdbc.driver.OracleDriver

Re: Validating solr user query

2012-01-23 Thread Chantal Ackermann
Hi Dipti, just to make sure: are you aware of http://wiki.apache.org/solr/DisMaxQParserPlugin This will handle the user input in a very conventional and user friendly way. You just have to specify on which fields you want it to search. With the 'mm' parameter you have a powerfull option to

Re: can solr automatically search for different punctuation of a word

2012-02-01 Thread Chantal Ackermann
/) Do I need also add dependecy... and where? Thanks. Alex. -Original Message- From: Chantal Ackermann chantal.ackerm...@btelligent.de To: solr-user solr-user@lucene.apache.org Sent: Fri, Jan 13, 2012 1:52 am Subject: Re: can solr automatically search for different

Re: indexing with DIH (and with problems)

2012-02-10 Thread Chantal Ackermann
On Thu, 2012-02-09 at 23:45 +0100, alessio crisantemi wrote: hi all, I would index on solr my pdf files wich includeds on my directory c:\myfile\ so, I add on my solr/conf directory the file data-config.xml like the following: dataConfig dataSource type=BinFileDataSource / document

Re: Stemming and accents (HunspellStemFilterFactory)

2012-02-14 Thread Chantal Ackermann
Hi Bráulio, I don't know about HunspellStemFilterFactory especially but concerning accents: There are several accent filter that will remove accents from your tokens. If the Hunspell filter factory requires the accents, then simply add the accent filters after Hunspell in your index and query

Re: MoreLikeThis Question

2012-02-15 Thread Chantal Ackermann
Hi, you would not want to include the unique ID and similar stuff, though? No idea whether it would impact the number of hits but it would most probably influence the scoring if nothing else. E.g. if you compare by certain fields, I would expect that a score of 1.0 indicates a match on all of

Re: Solr as an part of api to unburden databases

2012-02-15 Thread Chantal Ackermann
does anyone of the maillinglist users use solr as an API to avoid database queries? [...] Like in a... cache? Why not use a cache then? (memcached, for example, but there are more). Good point. A cache only uses lookup by one kind of cache key while SOLR provides lookup by ...

Re: Error Indexing in solr 3.5

2012-02-15 Thread Chantal Ackermann
Hi, I've got these errors when my client used a different SolrJ version from the SOLR server it connected to: SERVER 3.5 responding --- CLIENT some other version You haven't provided any information on your client, though. Chantal On Wed, 2012-02-15 at 13:09 +0100, mechravi25

Re: Facet on TrieDateField field without including date

2012-02-15 Thread Chantal Ackermann
I've done something like that by calculating the hours during indexing time (in the script part of the DIH config using java.util.Calendar which gives you all those field values without effort). I've also extracted information on which weekday it is (using the integer constants of Calendar). If

Re: How to loop through the DataImportHandler query results?

2012-02-16 Thread Chantal Ackermann
If your script turns out too complex to maintain, and you are developing in Java, anyway, you could extend EntityProcessor and handle the data in a custom way. I've done that to transform a datamart like data structure back into a row based one. Basically you override the method that gets the

Re: Frequent garbage collections after a day of operation

2012-02-16 Thread Chantal Ackermann
Make sure your Tomcat instances are started each with a max heap size that adds up to something a lot lower than the complete RAM of your system. Frequent Garbage collection means that your applications request more RAM but your Java VM has no more resources, so it requires the Garbage Collector

Re: Can this type of sorting/boosting be done by solr

2012-02-23 Thread Chantal Ackermann
Hi Ritesh, you could add another field that contains the size of the list in the AREFS field. This way you'd simply sort by that field in descending order. Should you update AREFS dynamically, you'd have to update the field with the size, as well, of course. Chantal On Thu, 2012-02-23 at 11:27

Re: Can this type of sorting/boosting be done by solr

2012-02-23 Thread Chantal Ackermann
Sorry to have misunderstood. It seems the new Relevance Functions in Solr 4.0 might help - unless you need to use an official release. http://wiki.apache.org/solr/FunctionQuery#Relevance_Functions On Thu, 2012-02-23 at 13:04 +0100, rks_lucene wrote: Dear Chantal, Thanks for your reply, but

RE: sun-java6 alternatives for Solr 3.5

2012-02-28 Thread Chantal Ackermann
You can download Oracle's Java (which was Sun's) from Oracle directly. You will have to create an account with them. You can use the same account for reading the java forum and downloading other software like their famous DB. Simply download. JDK6 is still a binary as were all Sun packages

Re: 400 Error adding field 'tags'='[a,b,c]'

2012-03-15 Thread Chantal Ackermann
Hi Alp, if you have not changed how SOLR logs in general, you should find the log output in the regular server logfile. For Tomcat you can find this in TOMCAT_HOME/catalina.out (or search for that name). If there is a problem with your schema, SOLR should be complaining about it during

Re: Problem witch adding classpath

2012-03-16 Thread Chantal Ackermann
Hi, I put all those jars into SOLR_HOME/lib. I do not specify them in solrconfig.xml explicitely, and they are all found all right. Would that be an option for you? Chantal On Thu, 2012-03-15 at 17:43 +0100, ViruS wrote: Hello, I just now try to switch from 3.4.0 to 3.5.0 ... i make new

Re: Velocity substring issue

2012-03-28 Thread Chantal Ackermann
Hi Henri, you have not provided very much information, so, here comes a guess: try ${bdte1} instead of $bdte1 - maybe Velocity resolves $bdte and concatenates 1 instead of trying the longer value as variable, first. Chantal On Wed, 2012-03-28 at 12:04 +0200, henri.gour...@laposte.net wrote:

Re: Store complete XML record (DIH XPathEntityProcessor)

2011-07-28 Thread Chantal Ackermann
Hi g, have a look at the PlainTextEntityProcessor: http://wiki.apache.org/solr/DataImportHandler#PlainTextEntityProcessor you will have to call the URL twice that way, but I don't think you can get the complete document (the root element with all structure) via xpath - so the

Re: Store complete XML record (DIH XPathEntityProcessor)

2011-08-01 Thread Chantal Ackermann
Hi g, ok, I understand your problem, now. (Sorry for answering that late.) I don't think PlainTextEntityProcessor can help you. It does not take a regex. LineEntityProcessor does but your record elements probably do not come on their own line each and you wouldn't want to depend on that, anyway.

  1   2   3   >