Hi,

the UniversalSearch class is part of the graylog2-server repository: 
https://github.com/Graylog2/graylog2-server/blob/1.2.2/graylog2-rest-client/src/main/java/org/graylog2/restclient/models/UniversalSearch.java

Cheers,
Jochen

On Wednesday, 24 February 2016 05:46:01 UTC+1, thuon...@gmail.com wrote:
>
> Hi all,
>
> I download and customize source code web interface from 
> https://github.com/Graylog2/graylog2-web-interface/tree/1.2.2
>
> when i search log,I want to modify number of result per page.And I did 
> something:
>          +I found class UniversalSearch in package 
> org.graylog2.restclient.models,this class has variable public static final
>  int PER_PAGE = 100 (this variable can  not           change);
>          +I make my own UniversalSearch   by source code from 
> UniversalSearch 
> <http://grepcode.com/file/repo1.maven.org/maven2/org.graylog2/graylog2-rest-client/0.91.1/org/graylog2/restclient/models/UniversalSearch.java#UniversalSearch>.
>  
> and I have problem from here
>                        -in my own UniversalSearch class has function 
> FieldHistogramResponse 
> fieldHistogram(String field, String interval)
>                        -in org.graylog2.restclient.models.UniversalSearch 
> has function FieldHistogramResponse fieldHistogram(field, interval, 
> isCardinality)
>                      so that , my web interface source code has error when 
> complie
>  
> I want to modify number per page when searching,I can rewrite 
> UniversalSearch.Is that right?
> If it's right,where can i find source code UniversalSearch for my web 
> interface source code?
>
> Please give me advices!
> Thanks,
>
>
>        
>
>                                                                 
>                                                                 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/0e7721a7-1aa7-48de-afae-0aafeed93ffd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to