I want to execute the following query:
(spacegroupID:g*) OR (!userID:g*).
What I want to do here is select all docs where spacegroupID is starts with
'g' or selects docs where userId not start with 'g'.
In above syntax (!userID:g*) gives results correctly.
Also (spacegroupID:g*) gives results co
I don't want to set in solrConfig.xml. I want solr to take from my config
file or from system property.
Thanks,
Ashish
Noble Paul നോബിള് नोब्ळ्-2 wrote:
>
> set the value in solrconfig.xml to what you like
>
> On Fri, Jun 12, 2009 at 10:38 AM, Ashish P
> wrote:
>>
I want to change data dir location and not use solrConfig.xml.
So on windows I removed dataDir xonfiguration from solrConfig.xml and tried
setting 'solr.data.dir' system property to my location.
But it looks like solr is not picking up this property on windows.
Anybody experienced the same???
Ple
embedded solr giving same
data dir. just trying to index.
Thanks,
Ashish
Shalin Shekhar Mangar wrote:
>
> On Thu, May 28, 2009 at 2:54 PM, Ashish P
> wrote:
>
>>
>> Hi,
>> I am committing to same index from two different embedded servers.
>> My lockty
Hi,
I am committing to same index from two different embedded servers.
My locktype is simple and writelocktimeout is commitLockTimeout is 10.
I read in a post "Update from multiple JVMs" where Hoss said this case is
supported but I am getting following error. I tried single lock also but
agai
Hi,
I have two instances of embedded server (no http) running on a network with
two separate indexes..
I want to replicate changes from one index to other.
Is there any way??
Thanks,
Ashish
--
View this message in context:
http://www.nabble.com/Index-replication-without-HTTP-tp23739156p23739156.
Hi,
Any idea if documents from solr server are cleared even if commit fails or I
can still again try commit after some time??
Thanks,
Ashish
Ashish P wrote:
>
> If I add 10 document to solrServer as in solrServer.addIndex(docs) ( Using
> Embedded ) and then I commit and commit fail
If I add 10 document to solrServer as in solrServer.addIndex(docs) ( Using
Embedded ) and then I commit and commit fails for for some reason. Then can
I retry this commit lets say after some time or the added documents are
lost??
--
View this message in context:
http://www.nabble.com/commit-que
OK. And the replication available with solr 1.3 is only for unix right??
Thanks,
Ashish
Noble Paul നോബിള് नोब्ळ्-2 wrote:
>
> On Fri, May 22, 2009 at 3:12 PM, Ashish P
> wrote:
>>
>> I want to add master slave configuration for solr. I have following solr
>> c
I want to add master slave configuration for solr. I have following solr
configuration:
I am using solr 1.3 on windows. I am also using EmbeddedSolrServer.
In this case is it possible to perform master slave configuration??
My second question is if I user solr 1.4 which has solr replication usin
Hi,
The scenario is I have 2 different solr instances running at different
locations concurrently. The data location for both instances is same:
\\hostname\FileServer\CoreTeam\Research\data.
Both instances use EmbeddedSolrServer and locktype at both instances is
'single'.
I am getting following
what is the difference between query clause and filter query??
Thanks,
Ashish
--
View this message in context:
http://www.nabble.com/query-clause-and-filter-query-tp23629715p23629715.html
Sent from the Solr - User mailing list archive at Nabble.com.
If you use CharFilter, you should use "CharStream aware" Tokenizer to
> correct terms offsets.
> There are two CharStreamAware*Tokenizer in trunk/Solr 1.4.
> Probably you want to use CharStreamAwareCJKTokenizer(Factory).
>
> Koji
>
>
> Ashish P wrote:
>> Af
After this should I be using same cjkAnalyzer or use charFilter??
Thanks,
Ashish
Koji Sekiguchi-2 wrote:
>
> Ashish P wrote:
>> I want to convert half width katakana to full width katakana. I tried
>> using
>> cjk analyzer but not working.
>> Does cjkAnalyzer d
I want to convert half width katakana to full width katakana. I tried using
cjk analyzer but not working.
Does cjkAnalyzer do it or is there any other way??
--
View this message in context:
http://www.nabble.com/half-width-katakana-tp23270186p23270186.html
Sent from the Solr - User mailing list
tyProcessor may
> help
>
>
> On Sun, Apr 26, 2009 at 1:38 PM, Ashish P
> wrote:
>>
>> Is there any way to index contents of SVN rep in Solr ??
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-index-the-contents-from-SVN-repo
Is there any way to index contents of SVN rep in Solr ??
--
View this message in context:
http://www.nabble.com/How-to-index-the-contents-from-SVN-repository-tp23240110p23240110.html
Sent from the Solr - User mailing list archive at Nabble.com.
I want to analyze a text based on pattern ";" and separate on whitespace and
it is a Japanese text so use CJKAnalyzer + tokenizer also.
in short I want to do:
Thanks Shalin.
Another question what is the meaning of this syntax
[* TO *]
Thanks,
Ashish
Shalin Shekhar Mangar wrote:
>
> On Fri, Apr 3, 2009 at 1:32 PM, Ashish P wrote:
>
>>
>> I want to query all documents where name:somevalue and actionuser value
>> is
&
Consider, I have following 3 fields
I want to query all documents where name:somevalue and actionuser value is
not equal to creationuser value.
Can we do this???
--
View this message in context:
http://www.nabble.com/filter-query-question-tp22863789p22863789.html
Sent from the Solr - User m
ngar wrote:
>
> On Wed, Mar 25, 2009 at 7:30 AM, Ashish P
> wrote:
>
>>
>> Can I get all the facets in QueryResponse??
>
>
> You can get all the facets that are returned by the server. Set
> facet.limit
> to the number of facets you want to retrieve.
>
Similar to getting range facets for date where we specify start, end and gap.
Can we do the same thing for numeric facets where we specify start, end and
gap.
--
View this message in context:
http://www.nabble.com/numeric-range-facets-tp22698330p22698330.html
Sent from the Solr - User mailing li
Can I get all the facets in QueryResponse??
Thanks,
Ashish
--
View this message in context:
http://www.nabble.com/get-all-facets-tp22693809p22693809.html
Sent from the Solr - User mailing list archive at Nabble.com.
I want following output from solr:
I index a field with value -> A B;C D;E F
I have applied a pattern tokenizer on this field because I know the value
will contain ";"
So it indexes A B, C D, E F properly... So I get fac
my documents (products) have a price field, and I want to have
a "dynamically" calculated range facet for that in the response.
E.g. I want to have this in the response
price:[* TO 20] -> 23
price:[20 TO 40] -> 42
price:[40 TO *] -> 33
if prices are between 0 and 60
but
price:[* TO 100]
Hey it works. Can you please tell me the reason??
Thanks,
Ashish
Koji Sekiguchi-2 wrote:
>
> Ashish P wrote:
>> I have created a field,
>>
>>
>>
>>
>>
>>
>>
> Set c
I have created a field,
The pattern is "_" (Underscore)
When I do field analysis using solr admin, it shows it correctly. Have a
look at attached image. e.g. cric_info
http://www.nabble.com/file/p22594575/field%2Banal
Is there any api in SolrJ that calls the dataImportHandler to execute
commands like full-import and delta-import.
Please help..
Ashish P wrote:
>
> Is it possible to index DB data directly to solr using EmbeddedSolrServer.
> I tried using data-Config File and Full-import commad, it
Is it possible to index DB data directly to solr using EmbeddedSolrServer. I
tried using data-Config File and Full-import commad, it works. So assuming
using CommonsHttpServer will also work. But can I do it with
EmbeddedSolrServer??
Thanks in advance...
Ashish
--
View this message in context:
only reason for a left over lock).
>
> - Jon
>
> On Mar 11, 2009, at 5:16 AM, Ashish P wrote:
>
>>
>> I added single in indexDefaults that made the
>> error
>> before go away but now I am getting following error :
>>
>> Mar 11, 200
org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:440)
at org.apache.lucene.index.FieldsWriter.(FieldsWriter.java:62)
at
org.apache.lucene.index.StoredFieldsWriter.initFieldsWriter(StoredFieldsWriter.java:65)
Please help..
Ashish P wrote:
>
> Thanks man.
> I just tried what u sugges
file to the xml string
> DirectXmlRequest up = new DirectXmlRequest( "/update", xml );
> solrServer.request( up );
>
> On Wed, Mar 11, 2009 at 2:19 PM, Ashish P
> wrote:
>>
>> I have an XML file with structure :
>>
>> ...
>> ...
>
I have an XML file with structure :
...
...
.
.
It is present on disk on some location let's say C:\\documents.xml
Q.1. Using solrJ can I index all docs in this file directly?? or do I have
to convert each document to solrInputDocument by parsing XML
Q.2 How to use DirectXmlReques
Hi Shalin,
Got the answer. I had uniquekey defined in schema.xml but that was not
present in any columns hence problem for indexing.
Thanks a lot for your help buddy.
Cheers,
Ashish
Ashish P wrote:
>
> yes I did full import. so previous docs are gone as you said.
> But when I
:
>
> On Tue, Mar 10, 2009 at 11:01 AM, Ashish P
> wrote:
>
>>
>> Oh looks like some other big problem, Now I am not able to see other text
>> data I indexed before adding DB data to index...
>> Can not search any data...But I am sure I was able to search be
:48 AM, Ashish P
> wrote:
>
>>
>>
>> In schema xml, I have defined following...
>>
>>> stored="true" />
>>> stored="true" />
>> Thanks,
>> Ashish
>>
>>
> If you search for *:* from
In schema xml, I have defined following...
Thanks,
Ashish
Shalin Shekhar Mangar wrote:
>
> On Tue, Mar 10, 2009 at 10:31 AM, Ashish P
> wrote:
>
>> now I am able to view data that is indexed using URL
>> http://localhost:8080/solr/admin/dataimpor
Hi,
I performed steps given in http://wiki.apache.org/solr/DataImportHandler to
index data from database.
the data-config.xml is
now I am able to view data that is indexed using URL
http://localhost:8080/solr/admi
are some errors in the xml.
> --Noble
>
> On Mon, Mar 9, 2009 at 8:35 AM, Ashish P wrote:
>>
>> I am getting following exception on configuring dataImporthandler in
>> SolrConfig.xml
>>
>> INFO: Processing configuration from solrconfig.xml:
>> {config=
I am getting following exception on configuring dataImporthandler in
SolrConfig.xml
INFO: Processing configuration from solrconfig.xml: {config=data-config.xml}
[Fatal Error] :1:1: Content is not allowed in prolog.
Mar 9, 2009 12:01:37 PM org.apache.solr.handler.dataimport.DataImportHandler
inf
o
hmm. I think I will just do that.
Thanks for clearing my doubt...
-Ashish
Shalin Shekhar Mangar wrote:
>
> On Fri, Mar 6, 2009 at 10:53 AM, Ashish P
> wrote:
>
>>
>> OK. so basically what you are saying is when you use copyField, it will
>> copy
>> th
tent field and part of data to go into
tsdatetime field. But that looks like not possible.
The field "condition" is actually mix of multiple data values.
Shalin Shekhar Mangar wrote:
>
> On Fri, Mar 6, 2009 at 7:40 AM, Ashish P wrote:
>
>>
>> I have a multi valued
It works
thanks
Ashish
Shalin Shekhar Mangar wrote:
>
> On Fri, Mar 6, 2009 at 7:03 AM, Ashish P wrote:
>
>>
>> I want to search on single date field
>> e.g. q=creationDate:2009-01-24T15:00:00.000Z&rows=10
>>
>> But I think the query gets terminate
What are the types of documents types ( Mime types ) supported for indexing
and searching in solr.
--
View this message in context:
http://www.nabble.com/supported-document-types-tp22366114p22366114.html
Sent from the Solr - User mailing list archive at Nabble.com.
I have a multi valued field as follows:
I want to index the data from this field into following fields
How can this be done?? Any ideas...
--
View this message in context:
http://www.nabble.com/index-multi-valued-field-into-multiple-fields-tp22364915p22364915.html
Sent from the Solr - User
I want to search on single date field
e.g. q=creationDate:2009-01-24T15:00:00.000Z&rows=10
But I think the query gets terminated after T15 as ':' ( COLON ) is taken as
termination character.
Any ideas on how to search on single date or for that matter if query data
contains COLON then how to sea
46 matches
Mail list logo