Re: Issue with using createNodeSet in Solr Cloud

2015-07-21 Thread Savvas Andreas Moysidis
be!!) then you can use bin/solr -h my-host-name and that'll be used in place of the IP. Upayavira On Tue, Jul 21, 2015, at 05:45 AM, Erick Erickson wrote: Glad you found a solution Best, Erick On Mon, Jul 20, 2015 at 3:21 AM, Savvas Andreas Moysidis savvas.andreas.moysi

Re: Issue with using createNodeSet in Solr Cloud

2015-07-20 Thread Savvas Andreas Moysidis
? (adminUIcloudtreelive_nodes. The addresses of my nodes are things like 192.168.1.201:8983_solr. I'm wondering if you're taking your node names from the information ZK records or assuming it's 127.0.0.1 On Sat, Jul 18, 2015 at 8:56 AM, Savvas Andreas Moysidis savvas.andreas.moysi

Re: Issue with using createNodeSet in Solr Cloud

2015-07-18 Thread Savvas Andreas Moysidis
returned. Best, Erick On Thu, Jul 16, 2015 at 2:22 AM, Savvas Andreas Moysidis savvas.andreas.moysi...@gmail.com wrote: Hello There, I am trying to use the createNodeSet parameter when creating a new collection but I'm getting an error when doing so. More specifically, I have four Solr

Issue with using createNodeSet in Solr Cloud

2015-07-16 Thread Savvas Andreas Moysidis
Hello There, I am trying to use the createNodeSet parameter when creating a new collection but I'm getting an error when doing so. More specifically, I have four Solr instances running locally in separate JVMs (127.0.0.1:8983, 127.0.0.1:8984, 127.0.0.1:8985, 127.0.0.1:8986) and a standalone

Re: Highlighting without URL condition

2012-09-19 Thread Savvas Andreas Moysidis
Hello, You can add this request parameter in the defaults section of your request handler named /select in solrconfig.xml like this: lst name=defaults str name=hltrue/str /lst and as long as you use this request handler you

Re: Solr - Proximity search using exact number of words apart

2012-09-16 Thread Savvas Andreas Moysidis
Hi, If you are using the dismax/edismax query parser you can maybe give query slops a try? http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_search_for_one_term_near_another_term_.28say.2C_.22batman.22_and_.22movie.22.29 On 16 September 2012 10:23, Omnia Zayed omnia.za...@gmail.com wrote:

Re: Use a boolean field as a flag for another, just stored, field

2012-09-09 Thread Savvas Andreas Moysidis
Hi, In your field declaration you can specify a default value of something your field will be populated with in absence of any value and later at search time run filter queries against that value. Bare in mind that if you want to filter your results based on any value you *have* to index that

Re: Use a boolean field as a flag for another, just stored, field

2012-09-09 Thread Savvas Andreas Moysidis
So, as you say, you only need to have a hasInternalURL (or something similar) which will be of type boolean and will be populated at index time? Unless I'm missing something I don't see why you would need a custom analyzer for this. On 9 September 2012 22:56, simple350 aurel...@yahoo.com wrote:

Re: The way to customize ranking?

2012-08-23 Thread Savvas Andreas Moysidis
Could you not apply this logic in your solr client prior to displaying the results? On 23 August 2012 20:56, François Schiettecatte fschietteca...@gmail.com wrote: I would create two indices, one with your content and one with your ads. This approach would allow you to precisely control how

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Savvas Andreas Moysidis
Hello, Make sure your unique id has a type which always yields one token after tokenisation is applied (e.g. either string or a type which only defines the KeywordTokenizer in its chain) Regards, Savvas On 5 July 2012 11:02, Sohail Aboobaker sabooba...@gmail.com wrote: Hi, We have defined a

Re: Frequency of Unique Id displayed more than 1

2012-07-05 Thread Savvas Andreas Moysidis
can you post the schema you are applying pls? On 5 July 2012 11:28, Sohail Aboobaker sabooba...@gmail.com wrote: Another observation is that when we query an individual schemaid, it returns only one row using the search interface. Why would frequency be more than 1?

Re: possible status codes from solr during a (DIH) data import process

2012-06-01 Thread Savvas Andreas Moysidis
Hello, Driven by the same requirements we also implemented the same polling mechanism (in java) and found it a bit awkward and error prone having to search through the returned response for occurrences of the terms failure or Rollback etc. It would be *really* handy if the status command returned

Function Query not getting picked up by Standard Query Parser

2011-06-02 Thread Savvas-Andreas Moysidis
Hello, I'm trying to find out why my Function Query isn't getting picked up by the Standard Parser. More specifically I send the following set of http params (I'm using the _val_ syntax): . lst name=params str name=_val_creationDate^0.01/str str

Re: Function Query not getting picked up by Standard Query Parser

2011-06-02 Thread Savvas-Andreas Moysidis
://wiki.apache.org/solr/SolrQuerySyntax#Differences_From_Lucene_Query_Parser Erik On Jun 2, 2011, at 07:46 , Savvas-Andreas Moysidis wrote: Hello, I'm trying to find out why my Function Query isn't getting picked up by the Standard Parser. More specifically I send the following

Solr book

2011-05-19 Thread Savvas-Andreas Moysidis
Hello, Does anyone know if there is a v 3.1 book coming any time soon? Regards, Savvas

Re: Solr book

2011-05-19 Thread Savvas-Andreas Moysidis
great, thanks! So, I guess the Solr In Action and Solr Cookbook will be based on 3.1.. :) 2011/5/19 Rafał Kuć ra...@alud.com.pl Hello! Take a look at the Solr resources page on the wiki (http://wiki.apache.org/solr/SolrResources). -- Regards, Rafał Kuć

DIH Response

2011-05-19 Thread Savvas-Andreas Moysidis
Hello, We have configured solr for delta processing through DIH and we kick off the index request from within a batch process. However, we somehow need to know whether our indexing request succeeded or not because we want to be able to rollback a db transaction if that step fails. By looking at

Re: catch_all field versus multiple OR Boolean query

2011-03-30 Thread Savvas-Andreas Moysidis
=on to your query to see what each field contributes to the score, that'll help with understanding the scoring, although it's a little hard to read... Best Erick On Tue, Mar 29, 2011 at 6:06 PM, Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com wrote: Hello, Currently

Re: Matching on a multi valued field

2011-03-29 Thread Savvas-Andreas Moysidis
I assume you are using the Standard Handler? In that case wouldn't something like: q=common_names:(man's friend)q.op=AND work? On 29 March 2011 21:57, Brian Lamb brian.l...@journalexperts.com wrote: Hi all, I have a field set up like this: field name=common_names multiValued=true type=text

Re: Matching on a multi valued field

2011-03-29 Thread Savvas-Andreas Moysidis
my bad..just realised your problem.. :D On 29 March 2011 22:07, Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com wrote: I assume you are using the Standard Handler? In that case wouldn't something like: q=common_names:(man's friend)q.op=AND work? On 29 March 2011 21:57, Brian

catch_all field versus multiple OR Boolean query

2011-03-29 Thread Savvas-Andreas Moysidis
Hello, Currently in our index we have multiple fields and a copyfield / catch_all field. When users select all search options we specify the catch_all field as the field to search on. This has worked very well for our needs but a question was recently raised within our team regarding the

Re: Logic operator with dismax

2011-03-21 Thread Savvas-Andreas Moysidis
Hello, The Dismax search handler doesn't have the concept of a logical operator in terms of OR-AND but rather uses a feature called Min-Should-Match (or mm). This parameter specifies the absolute number or percentage of the entered terms that you need them to match. To have an OR-like effect you

Re: frequent index updates

2011-03-21 Thread Savvas-Andreas Moysidis
Hello, This thread might help: http://search-lucene.com/m/09PHV1E0ZxQ1/Possibilities+of+near+real+time+search+with+solr/v=threaded On 21 March 2011 09:33, Prav Buz buz.p...@gmail.com wrote: Hi, I'm wondering what are the best way to do this for this scenario: Index will have about 250 -

Re: Solr under Tomcat

2011-03-02 Thread Savvas-Andreas Moysidis
Hi Sai, You can find your index files at: {%TOMCAT_HOME}\solr\data\index If you want to clear the index just delete the whole index directory. Regards, - Savvas On 2 March 2011 14:09, Thumuluri, Sai sai.thumul...@verizonwireless.comwrote: Good Morning, We have deployed Solr 1.4.1 under

Re: Create a tomcat service.

2011-02-28 Thread Savvas-Andreas Moysidis
Hi Rajini, We use the following script ran from within {TOMCAT_HOME}\bin directory to create service instances (assuming you are targeting Windows Server environments..): cd C:\Program Files\Apache Software Foundation\{TOMCAT_HOME}\bin set CATALINA_BASE=C:\Program Files\Apache Software

Re: Create a tomcat service.

2011-02-28 Thread Savvas-Andreas Moysidis
..--DisplayName doesn't *have* to be {TOMCAT_HOME} of course..just a copy paste artifact.. :D On 28 February 2011 12:21, Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com wrote: Hi Rajini, We use the following script ran from within {TOMCAT_HOME}\bin directory to create service

Re: How to handle special character in filter query

2011-02-26 Thread Savvas-Andreas Moysidis
Hello, Regarding HTTP specific characters(like spaces and ) , you'll need to URL-encode those if you are firing queries directly to Solr but you don't need to do so if you are using a Solr client such as SolrJ. Regards, - Savvas On 26 February 2011 03:11, cyang2010 ysxsu...@hotmail.com wrote:

Re: fq field with facets

2011-02-23 Thread Savvas-Andreas Moysidis
Hello, you could try wrapping your fq terms in double quotes as in: ?q=homefq=category:Appartement Sale On 23 February 2011 13:25, Rosa (Anuncios) rosaemailanunc...@gmail.comwrote: Hi, I'm trying to reduce results from facets. (by category with my schema) My category field is String

Re: fq field with facets

2011-02-23 Thread Savvas-Andreas Moysidis
Hi Eric, could you please let us know where can we find more info about this notation ( fq={!field f=category})? What is it called, how to use it etc? Is there a wiki page? Thanks, - Savvas On 23 February 2011 14:17, Erik Hatcher erik.hatc...@gmail.com wrote: Try - fq={!field

Re: [ANN] new SolrMeter release

2011-02-23 Thread Savvas-Andreas Moysidis
Nice! will definitely give it a try! :) On 23 February 2011 22:55, Lance Norskog goks...@gmail.com wrote: Cool! On 2/23/11, Tomás Fernández Löbbe tomasflo...@gmail.com wrote: Hi All, I'm happy to announce a new release of SolrMeter, an open source stress test tool for Solr. You can

Re: General question about Solr Caches

2011-02-09 Thread Savvas-Andreas Moysidis
Hi Hoss, Ok, that makes much more sense now. I was under the impression that values were copied as well which seemed a bit odd.. unless you have to deal with a use case similar to yours. :) Cheers, - Savvas On 9 February 2011 02:25, Chris Hostetter hossman_luc...@fucit.org wrote: : In my

Re: Concurrent updates/commits

2011-02-09 Thread Savvas-Andreas Moysidis
understand Solr commit, they are serialized by design. And committing too often could lead you to trouble if you have many warm-up queries (?). Hope this helps, Pierre -Message d'origine- De : Savvas-Andreas Moysidis [mailto: savvas.andreas.moysi...@googlemail.com] Envoyé

Re: Concurrent updates/commits

2011-02-09 Thread Savvas-Andreas Moysidis
creates the index, then warms it, then makes it available for regular queries. If you are creating indexes frequently, don't bother warming. wunder == Walter Underwood Lead Engineer, MarkLogic On Feb 9, 2011, at 8:03 AM, Savvas-Andreas Moysidis wrote: Hello, Thanks very much for your

Re: Concurrent updates/commits

2011-02-09 Thread Savvas-Andreas Moysidis
Thanks very much Em. - Savvas On 9 February 2011 16:22, Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com wrote: Yes, we'll probably go towards that path as our index files are relatively small, so auto warming might not be extremely useful in our case.. Yep, we do realise

General question about Solr Caches

2011-02-08 Thread Savvas-Andreas Moysidis
Hello, I am going through the wiki page related to cache configuration http://wiki.apache.org/solr/SolrCaching and I have a question regarding the general cache architecture and implementation: In my understanding, the Current Index Searcher uses a cache instance and when a New Index

Re: Scoring: Precedent for a Rules-/Priority-based Approach?

2011-02-08 Thread Savvas-Andreas Moysidis
Hi Tavi, In my understanding the scoring formula Lucene (and therefore Solr) uses is based on a mathematical model which is proven to work for general purpose full text searching. The real challenge, as you mention, comes when you need to achieve high quality scoring based on the domain you are

Re: facet.mincount

2011-02-03 Thread Savvas-Andreas Moysidis
could you post the query you are submitting to Solr? On 3 February 2011 09:33, Isan Fulia isan.fu...@germinait.com wrote: Hi all, Even after making facet.mincount=1 , it is showing the results with count = 0. Does anyone know why this is happening. -- Thanks Regards, Isan Fulia.

Re: facet.mincount

2011-02-03 Thread Savvas-Andreas Moysidis
:00.000Zfacet.date.gap=%2B1HOURfacet.mincount=1 On 3 February 2011 15:14, Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com wrote: could you post the query you are submitting to Solr? On 3 February 2011 09:33, Isan Fulia isan.fu...@germinait.com wrote: Hi all

Re: facet.mincount

2011-02-03 Thread Savvas-Andreas Moysidis
danbsut...@gmail.com wrote: facet.mincount is grouped only under field faceting parameters not date faceting parameters On Thu, Feb 3, 2011 at 11:08 AM, Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com wrote: Hi Dan, I'm probably just not able to spot this, but where does

Re: Index Not Matching

2011-02-03 Thread Savvas-Andreas Moysidis
Hello, Are you definitely positive your database isn't updated after you index your data? Are you querying against the same field(s) specifying the same criteria both in Solr and in the database? Any chance you might be pointing to a dev/test instance of Solr ? Regards, - Savvas On 3 February

Re: Index Not Matching

2011-02-03 Thread Savvas-Andreas Moysidis
indexing if this is the case. No connection errors in the logs. -Original Message- From: Savvas-Andreas Moysidis [mailto:savvas.andreas.moysi...@googlemail.com] Sent: Thursday, February 03, 2011 4:26 PM To: solr-user@lucene.apache.org Subject: Re: Index Not Matching Hello, Are you

Re: Index Not Matching

2011-02-03 Thread Savvas-Andreas Moysidis
and compared it to the one in our stage environment. What is really weird is that I grabbed one of the product ID that are not showing up in SOLR from the DB, search through the SOLR GUI and it found it. -Original Message- From: Savvas-Andreas Moysidis [mailto:savvas.andreas.moysi

Re: Search for FirstName with first Char uppercase followed by * not giving result; getting result with all lowercase and *

2011-01-30 Thread Savvas-Andreas Moysidis
Hi Mark, When I indexed *George *it was also finally analyzed and stored as *george* Theny why is it that I don't get a match as per the analysis report I had your indexed term is george but you search for George* which does not go through the same analysis process as it did when it was indexed.

Re: Searchers and Warmups

2011-01-14 Thread Savvas-Andreas Moysidis
Hi David, maybe the wiki page on caching could be helpful: http://wiki.apache.org/solr/SolrCaching#newSearcher_and_firstSearcher_Event_Listeners http://wiki.apache.org/solr/SolrCaching#newSearcher_and_firstSearcher_Event_Listeners Regards, - Savvas On 14 January 2011 00:08, David Cramer

Re: SolrJ Question about Bad Request Root cause error

2011-01-11 Thread Savvas-Andreas Moysidis
good point! that's an enhancement we would definitely welcome as well. currently, we too have to remote desktop to the Sol machine and search through the logs.. Any thoughts? Cheers, -- Savvas On 11 January 2011 19:59, roz dev rozde...@gmail.com wrote: Hi All We are using SolrJ client (v

Re: [DIH] Example for SQL Server

2010-12-15 Thread Savvas-Andreas Moysidis
Hi Adam, we are using DIH to index off an SQL Server database(the freeby SQLExpress one.. ;) ). We have defined the following in our %TOMCAT_HOME%\solr\conf\data-config.xml: dataConfig dataSource type=JdbcDataSource name=mssqlDatasource

Re: Lower level filtering

2010-12-15 Thread Savvas-Andreas Moysidis
It might not be practical in your case, but is it possible to get from that other system, a list of ids the user is *not* allow to see and somehow invert the logic in the filter? Regards, -- Savvas. On 15 December 2010 14:49, Michael Owen michaelowe...@hotmail.com wrote: Hi all, I'm

Re: How to get all the search results?

2010-12-06 Thread Savvas-Andreas Moysidis
Hello, shouldn't that query syntax be *:* ? Regards, -- Savvas. On 6 December 2010 16:10, Solr User solr...@gmail.com wrote: Hi, First off thanks to the group for guiding me to move from default search handler to dismax. I have a question related to getting all the search results. In the

Re: How to get all the search results?

2010-12-06 Thread Savvas-Andreas Moysidis
ahhh, right..in dismax, you pre-define the fields that will be searched upon is that right? is it also true that the query is parsed and all special characters escaped? On 6 December 2010 16:25, Peter Karich peat...@yahoo.de wrote: for dismax just pass an empty query all q= or none at all

Re: Troubles with forming query for solr.

2010-12-02 Thread Savvas-Andreas Moysidis
Hello, would something similar along those lines: (field1:term AND field2:term AND field3:term)^2 OR (field1:term AND field2:term)^0.8 OR (field2:term AND field3:term)^0.5 work? You'll probably need to experiment with the boost values to get the desired result. Another option could be

Re: Joining Fields in and Index

2010-12-02 Thread Savvas-Andreas Moysidis
Hi, If you are able to do a full re-index then you could index the full names and not the codes. When you later facet on the Country field you'll get the actual name rather than the code. If you are not able to re-index then probably this conversion could be added at your application layer prior

Re: Boost on newer documents

2010-11-30 Thread Savvas-Andreas Moysidis
hi, I might not understand your case right but can you not add an extra publishedDate field and then specify a secondary (after relevance) sort by that? On 30 November 2010 08:05, jan.kure...@nokia.com wrote: You could also put a short representation of the data (I suggest days since

Re: Boost on newer documents

2010-11-30 Thread Savvas-Andreas Moysidis
it it to do a dual-sort. I like the idea of using one of the dismax parameters (bf) to in-effect increase the boost on a newer document. Thanks for all replies, most useful. -Original Message- From: Savvas-Andreas Moysidis [mailto: savvas.andreas.moysi...@googlemail.com] Sent: Tue 30

Bug in solrJ when retrieving results?

2010-11-24 Thread Savvas-Andreas Moysidis
Hello, We think we've come across a bug in solrj? The following is a toString() dump of a QueryResponse object we are getting: {responseHeader={status=0,QTime=0,params={sort=creationDate asc,start=30,q=songTitle:(mad dog) AND creationDate:[123750720 TO

Re: SOLR and secure content

2010-11-23 Thread Savvas-Andreas Moysidis
Sounds like a good plan. I'd probably also set multiple cores for each website. This could give you more accurate results scoring. Good question about the required configuration option.. any input? Although on the other hand, this is a rule which seems to better fit in your application's

Re: SOLR and secure content

2010-11-22 Thread Savvas-Andreas Moysidis
Hi, Could you elaborate a bit more on how you access Solr? are you making direct Solr calls or is the communication directed through an application layer? On 22 November 2010 11:05, Jos Janssen j...@websdesign.nl wrote: Hi, We are currently investigating how to setup a correct solr server

Re: SOLR and secure content

2010-11-22 Thread Savvas-Andreas Moysidis
maybe this older thread on Modeling Access Control might help: http://lucene.472066.n3.nabble.com/Modelling-Access-Control-td1756817.html#a1761482 Regards, -- Savvas On 22 November 2010 18:53, Jos Janssen j...@websdesign.nl wrote: Hi, We plan to make an application layer in PHP which will

Re: Searching with acronyms

2010-11-15 Thread Savvas-Andreas Moysidis
yes, a synonyms filter should allow you to achieve what you want. On 15 November 2010 03:14, sivaprasad sivaprasa...@echidnainc.com wrote: Hi, I have a requirement where a user enters acronym of a word, then the search results should come for the expandable word.Let us say. If the user

Re: Search with accent

2010-11-10 Thread Savvas-Andreas Moysidis
have you tried using a TokenFilter which removes accents both at indexing and searching time? If you index terms without accents and search the same way you should be able to find all documents as you require. On 10 November 2010 20:08, Claudio Devecchi cdevec...@gmail.com wrote: Tomas, Let

Re: Search with accent

2010-11-10 Thread Savvas-Andreas Moysidis
have you tried using a TokenFilter which removes accents both at indexing and searching time? If you index terms without accents and search the same way you should be able to find all documents as you require. On 10 November 2010 20:25, Tomas Fernandez Lobbe tomasflo...@yahoo.com.arwrote: It

Re: Wildcard weirdness

2010-11-05 Thread Savvas-Andreas Moysidis
One place to start would be the Analysis page http://{your machine}:{port}/solr/admin/analysis.jsp?highlight=on There you can see exactly what happens to your query as it being moved down the Analysis chain. In my knowledge, no analysis is performed on wildcarded terms so my guess would be that

Re: Wildcard weirdness

2010-11-05 Thread Savvas-Andreas Moysidis
strange..my second guess would be that stemming could be the reason but if your analyser(s) emit the same values you use for searching that's odd.. could you post your schema definition for the surname field? On 5 November 2010 17:33, C0re blue-...@hotmail.co.uk wrote: Hi Savvas, Thanks for

Re: indexing '-

2010-10-31 Thread Savvas-Andreas Moysidis
One way to view how your Tokenizers/Filters chain transforms your input terms, is to use the analysis page of the Solr admin web application. This is very handy when troubleshooting issues related to how terms are indexed. On 31 October 2010 17:13, PeterKerk vettepa...@hotmail.com wrote: I

Re: Commit/Optimise question

2010-10-31 Thread Savvas-Andreas Moysidis
... HTH Erick On Thu, Oct 28, 2010 at 9:56 AM, Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com wrote: Hello, We currently index our data through a SQL-DIH setup but due to our model (and therefore sql query) becoming complex we need to index our data programmatically

Re: Natural string sorting

2010-10-29 Thread Savvas-Andreas Moysidis
I think string10 is before string2 in lexicographic order? On 29 October 2010 09:18, RL rl.subscri...@gmail.com wrote: Just a quick question about natural sorting of strings. I've a simple dynamic field in my schema: fieldType name=string class=solr.StrField sortMissingLast=true

Re: Stored or indexed?

2010-10-28 Thread Savvas-Andreas Moysidis
In our case, we just store a database id and do a secondary db query when displaying the results. This is handy and leads to a more centralised architecture when you need to display properties of a domain object which you don't index/search. On 28 October 2010 05:02, kenf_nc

Re: How do I this in Solr?

2010-10-26 Thread Savvas-Andreas Moysidis
If I get your question right, you probably want to use the AND binary operator as in samsung AND andriod AND GPS or +samsung +andriod +GPS On 26 October 2010 14:07, Varun Gupta varun.vgu...@gmail.com wrote: Hi, I have lot of small documents (each containing 1 to 15 words) indexed in Solr.

Re: Modelling Access Control

2010-10-23 Thread Savvas-Andreas Moysidis
Pushing ACL logic outside Solr sounds like a prudent choice indeed as in, my opinion, all of the business rules/conceptual logic should reside only within the code boundaries. This way your domain will be easier to model and your code to read, understand and maintain. More information on Filter

Re: different results depending on result format

2010-10-22 Thread Savvas-Andreas Moysidis
strange..are you absolutely sure the two queries are directed to the same Solr instance? I'm running the same query from the admin page (which specifies the xml format) and I get the exact same results as solrj. On 21 October 2010 22:25, Mike Sokolov soko...@ifactory.com wrote: quick follow-up:

Re: query between two date

2010-10-18 Thread Savvas-Andreas Moysidis
You'll have to supply your dates in a format Solr expects (e.g. 2010-10-19T08:29:43Z and not 2010-10-19). If you don't need millisecond granularity you can use the DateMath syntax to specify that. Please, also check http://wiki.apache.org/solr/SolrQuerySyntax. On 17 October 2010 10:54, nedaha

Re: query between two date

2010-10-18 Thread Savvas-Andreas Moysidis
ok, maybe don't get this right.. are you trying to match something like check-in date 2010-10-19T00:00:00Z AND check-out date 2010-10-21T00:00:00Z *or* check-in date = 2010-10-19T00:00:00Z AND check-out date = 2010-10-21T00:00:00Z? On 18 October 2010 10:05, nedaha neda...@gmail.com wrote:

Re: query between two date

2010-10-18 Thread Savvas-Andreas Moysidis
ok, I see now..well, the only query that comes to mind is something like: check-in date:[2010-10-19T00:00:00Z TO *] AND check-out date:[* TO 2010-10-21T00:00:00Z] would something like that work? On 18 October 2010 11:04, nedaha neda...@gmail.com wrote: The exact query that i want is:

Re: check if field CONTAINS a value, as opposed to IS of a value

2010-10-14 Thread Savvas-Andreas Moysidis
looks like you are not tokenizing your field properly. What does your schema.xml look like? On 14 October 2010 13:01, Allistair Crossley a...@roxxor.co.uk wrote: actuall no you don't .. if you want hi in a sentence of hi there this is me this is just normal tokenizing and should work .. check

Re: check if field CONTAINS a value, as opposed to IS of a value

2010-10-14 Thread Savvas-Andreas Moysidis
verbatim from schema.xml: !-- The StrField type is not analyzed, but indexed/stored verbatim. - StrField and TextField support an optional compressThreshold which limits compression (if enabled in the derived fields) to values which exceed a certain size (in characters).

Re: check if field CONTAINS a value, as opposed to IS of a value

2010-10-14 Thread Savvas-Andreas Moysidis
I think this should work..It might also be a good idea to investigate how exactly each filter in the chain modifies your original text..this way you will be able to better understand why certain queries match certain documents. On 14 October 2010 14:18, PeterKerk vettepa...@hotmail.com wrote:

Re: check if field CONTAINS a value, as opposed to IS of a value

2010-10-14 Thread Savvas-Andreas Moysidis
yep, the Solr Admin web-app provides functionality that does exactly that..it can reached@ http:// {serverName}:{serverPort}/solr/admin/analysis.jsp On 14 October 2010 14:28, PeterKerk vettepa...@hotmail.com wrote: It DOES work :) Oh and on the filtersis there some sort of debug/overview

Re: check if field CONTAINS a value, as opposed to IS of a value

2010-10-14 Thread Savvas-Andreas Moysidis
correct, it show the transformations that happen to your indexed term (or query term if you use the *Field value (query)* box ) after each Tokenizer/Filter is executed. On 14 October 2010 14:40, PeterKerk vettepa...@hotmail.com wrote: Awesome again! And for my understanding, I type a single

Re: Quoting special characters?

2010-10-14 Thread Savvas-Andreas Moysidis
If I understand your problem right what you probably need is to escape those characters: http://lucene.apache.org/java/2_9_1/queryparsersyntax.html#Escaping Special Characters On 14 October 2010 14:36, Igor Chudov ichu...@gmail.com wrote: Let's say that I submit a query for a MoreLikeThis

Re: Solr Fuzzy

2010-10-14 Thread Savvas-Andreas Moysidis
Hi, yes, Solr does support fuzzy queries by using the Levenstein Distance algorithm: http://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance You can specify a fuzzy query by adding a tilde (~) symbol at the end of your query as in title: Solr~ You can even specify a proximity threshold

Re: SOLRJ - Searching text in all fields of a Bean

2010-10-08 Thread Savvas-Andreas Moysidis
Hello, What does your schema look like? Have you defined a catch all field and copy every value from all your other fields in it with a copyField / directive? Cheers, -- Savvas On 8 October 2010 08:30, Subhash Bhushan subhash.bhus...@stratalabs.inwrote: Hi, I have two fields in the bean

Re: Strange search result (or lack of)

2010-10-08 Thread Savvas-Andreas Moysidis
Hello, Try searching for name_de:(das urteil). A search for name_de:das urteil will search for das in *name_de* and for urteil in the default field (e.g. catch all field). Hope that helps, -- Savvas On 8 October 2010 09:00, Thomas Kellerer spam_ea...@gmx.net wrote: Hi, I have the following

Re: Umlaut in facet name attribute

2010-10-05 Thread Savvas-Andreas Moysidis
Hello, It seems that your analysis process removes punctuation and therefore indexes terms without it. What you see in the faceted result is the text that has been indexed. If you select a Tokenizer/Token Filter which preserves punctuation you should be able to see what you want. Cheers, --

Re: Re: Umlaut in facet name attribute

2010-10-05 Thread Savvas-Andreas Moysidis
the facet list based on the unanalyzed counterparts. -Original message- From: Savvas-Andreas Moysidis savvas.andreas.moysi...@googlemail.com Sent: Wed 06-10-2010 00:46 To: solr-user@lucene.apache.org; Subject: Re: Umlaut in facet name attribute Hello, It seems that your analysis