Re: Special character (&) search in query not working

2018-07-13 Thread Gurdeep Singh
Replace & with %26 and try. 



> On 13 Jul 2018, at 8:54 PM, shruti suri  wrote:
> 
> Hi,
> 
> I have Special character(&) in my index and when I am searching for some
> value with ampersand, the search breaks.
> 
> query term : "Travel Marketing & Finance"
> 
> *FieldType*
> 
>  autoGeneratePhraseQueries="true">
>
>
> generateWordParts="1"
> generateNumberParts="1" catenateWords="1" catenateNumbers="1"
> catenateAll="1" splitOnCaseChange="0" splitOnNumerics="0"
> preserveOriginal="1" />
> words="stopwords.txt" />
>
>
>
>
>
>
> generateWordParts="1"
> generateNumberParts="1" catenateWords="1" catenateNumbers="1"
> catenateAll="1" splitOnCaseChange="0" splitOnNumerics="0"
> preserveOriginal="0" />
> words="stopwords.txt" />
>
>
>
>
>
> 
> 
> 
> 
> 
> 
> -
> Regards
> Shruti
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Solr index getting replaced instead of merged

2017-08-30 Thread Gurdeep Singh
Not sure how you are doing indexing. Try adding clean=false in your indexing 
command/script when you do second table indexing.





> On 30 Aug 2017, at 7:06 PM, Agrawal, Harshal (GE Digital) 
>  wrote:
> 
> Hello Guys,
> 
> I have installed solr in my local system and was able to connect to Teradata 
> successfully.
> For single table I am able to index the data and query it also but when I am 
> trying for multiple tables in the same schema and doing indexing one by one 
> respectively.
> I can see datasets getting replaced instead of merged .
> 
> Can anyone help me please:
> 
> Regards
> Harshal
> 
> 


HBase table indexing in Solr using morphline conf

2016-12-15 Thread Gurdeep Singh
Hi All,

I am trying to index a HBase table into Solr using HBase indexer and
morphline conf. file.

The issue I'm facing is that, one of the column in HBase table is a count
field (with values as integer) and except this column all other string type
HBase columns are getting indexed in Solr as expected. (only this count
field is not getting indexed in Solr.)

Below is how I configured this column in morphline file:

--
{
   inputColumn : "a:count"(a is one of the column family in HBase table)
   outputField : "count"
   type :"int"
   source: value
}
--

In Solr schema.xml also, I kept count as int.
I also tried changing type in morphline file as long/double, but no luck.

However when I set this column as "string" in morphline and in Solr's
schema.xml, I see the column in Solr but it shows data with type mismatch
error:
"ERROR SCHEMA-INDEX-MISMATCH", stringValue=123

Please advice how to index integer type data from HBase table into Solr
using morphline.

Thanks in advance



Best Regards,
Gurdeep

gurdeepgan...@gmail.com


Solr 6.2 Distributed joins

2016-10-05 Thread Gurdeep Singh
Hello all,


I am exploring one of Solr 6.2 new feature (stream decorators) for one of
my application and the "leftOuterJoin" is working as expected. (joining two
streams and getting the data from both the collections)

I need to know if group query works with these distributed joins or not?
(like in older versions of Solr we simply get this by adding
 group=true= into the query)

Also we use pagination in our app so I was trying parameter start= in join query, but it doesn't seemed to work. So how can we get
records from a specific record number and total number of records/groups
found in the JSON response?

Any help appreciated.

Thanks in advance.



Best Regards,
Gurdeep

gurdeepgan...@gmail.com